summaryrefslogtreecommitdiff
path: root/math/mathex/files/patch-makefile
blob: 714e89ccb09a7a2c51085e3610ff474ef9020186 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- makefile.orig	2024-06-21 08:45:06 UTC
+++ makefile
@@ -78,9 +78,9 @@
 ##############################
 #  current compiler settings #
 ##############################
-CC        = g++
-CFLAGS = -Wall -ggdb -c -o
-LFLAGS    = -ggdb -o
+CC        = ${CXX}
+CFLAGS += -fPIC -c -o
+LFLAGS    = ${LDFLAGS} -o
 # for g++ link  as C++. Thus, is not need to specify stdc++
 # LIBS      = -lm  -lstdc++
 LIBS      = -lm
@@ -162,4 +162,4 @@ clear:
 clear:
 	rm $(OBJECTS)
 
-# end of makefile
\ No newline at end of file
+# end of makefile