aboutsummaryrefslogtreecommitdiff
path: root/comms/linrad/files/patch-Makefile.in
blob: e381bcbc598364a766c9ebbf5ed2bf196d3d0249 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
--- Makefile.in.orig	2014-11-04 10:25:00 UTC
+++ Makefile.in
@@ -23,7 +23,7 @@
 #
 # -----------     Compilers     ----------------
 # Use gcc to compile files for Linux.
-CC=gcc
+CC?=gcc
 # Name the output files *.ol instead of *.o
 # so we definitely know it is for Linux.
 # (*.o files can be present by mistake)
@@ -42,7 +42,7 @@ WINNASM64 = C:\mingw\bin\nasm -w-orphan-
 # (*.o files can be present by mistake)
 # Always use the same flags.
 # -Wconversion -Wno-sign-conversion -Wunreachable-code
-CFL	= -g -O2 -DOSNUM=1 -DMEMREF_T=int @X11_32_INC@ -W -Wall -DCPU=@CPU@ \
+CFL	= -O2 -DOSNUM=1 -DMEMREF_T=int @X11_32_INC@ -W -Wall -DCPU=@CPU@ \
 -DSHM_INSTALLED=@LIBXEXT32_OK@ -Wimplicit \
 -DALSA_PRESENT=@ALSA32_OK@  -DIA64=0 \
 @DARWIN@ -DLIBUDEV_PRESENT=@LIBUDEV_32_OK@ -DSERVER=@MAKE_SERVER@ \
@@ -50,7 +50,7 @@ CFL	= -g -O2 -DOSNUM=1 -DMEMREF_T=int @X
 -Wuninitialized -Wparentheses -Wstrict-prototypes -Werror -ffast-math \
 -Wundef -fomit-frame-pointer -c -o
 
-CFLN	= -g -O2 -DOSNUM=1 -DMEMREF_T=int @X11_32_INC@ -W -Wall \
+CFLN	= -O2 -DOSNUM=1 -DMEMREF_T=int @X11_32_INC@ -W -Wall \
 -DCPU=@CPU@ -DSHM_INSTALLED=@LIBXEXT32_OK@ -Wimplicit \
 -DALSA_PRESENT=@ALSA32_OK@ -DIA64=0 \
 @DARWIN@ -DLIBUDEV_PRESENT=@LIBUDEV_32_OK@ -DSERVER=@MAKE_SERVER@ \
@@ -58,13 +58,13 @@ CFLN	= -g -O2 -DOSNUM=1 -DMEMREF_T=int @
 -Wuninitialized -Wparentheses -Wstrict-prototypes -Werror -ffast-math \
 -Wundef -fomit-frame-pointer -c -o
 
-CFW	= -g -O2 -DOSNUM=2 -DMEMREF_T=int -W -Wall -Wimplicit -DIA64=0 \
+CFW	= -O2 -DOSNUM=2 -DMEMREF_T=int -W -Wall -Wimplicit -DIA64=0 \
 -DLIBUDEV_PRESENT=1 -DCPU=CPU_INTEL -DSERVER=@MAKE_SERVER@ \
 @M32@ -Wreturn-type -Wformat -Wunused -Wcomment -Wchar-subscripts \
 -Wshadow -Wuninitialized -Wparentheses -Wstrict-prototypes -Werror \
 -ffast-math -Wundef -fomit-frame-pointer -c -o
 
-CFL64	= -g -O2 -DOSNUM=1 -DMEMREF_T='long int' @X11_64_INC@ -W -Wall \
+CFL64	= -O2 -DOSNUM=1 -DMEMREF_T='long int' @X11_64_INC@ -W -Wall \
 -DCPU=@CPU@ -DSHM_INSTALLED=@LIBXEXT64_OK@ -DALSA_PRESENT=@ALSA64_OK@ \
 -DIA64=1 @DARWIN@ -DLIBUDEV_PRESENT=@LIBUDEV_64_OK@ -DSERVER=@MAKE_SERVER@ \
 -Wimplicit -Wreturn-type -Wformat -m64 -Wunused -Wcomment \
@@ -1040,7 +1040,7 @@ fcdpp.ol hid.ol pcie9842.ol bladerf.ol m
 @SVGA32_LD@ \
 @SVGAGL32_LD@ \
 @LIBUDEV_32_LD@ \
--lpthread @LIBRT@ -lm -ldl  
+-lpthread @LIBRT@ -lm
 
 	@echo " "
 	@echo "You may want to disable pulseaudio in Ubuntu with this command:"
@@ -1137,7 +1137,7 @@ fcdpp.ol hid.ol pcie9842.ol bladerf.ol m
 @X11_32_LD@ \
 @ALSA32_LD@ \
 @LIBUDEV_32_LD@ \
--lpthread @LIBRT@ -lm -ldl
+-lpthread @LIBRT@ -lm
 
 	@echo " "
 	@echo "You may want to disable pulseaudio in Ubuntu with this command:"
@@ -1210,7 +1210,7 @@ fcdpp.ol hid.ol pcie9842.ol bladerf.ol m
 @SVGA32_LD@ \
 @SVGAGL32_LD@ \
 @LIBUDEV_32_LD@ \
--lpthread @LIBRT@ -lm -ldl  
+-lpthread @LIBRT@ -lm
 
 	@echo " "
 	@echo "You may want to disable pulseaudio in Ubuntu with this command:"
@@ -1527,7 +1527,7 @@ fcdpp.om hid.om pcie9842.om bladerf.om m
 @SVGA64_LD@ \
 @SVGAGL64_LD@ \
 @LIBUDEV_64_LD@ \
--lpthread @LIBRT@ -lm -ldl  
+-lpthread @LIBRT@ -lm
 
 	@echo " "
 	@echo "You may want to disable pulseaudio in Ubuntu with this command:"
@@ -1612,7 +1612,7 @@ elektor.om fcdpp.om hid.om pcie9842.om b
 @ALSA64_LD@ \
 @X11_64_LD@ \
 @LIBUDEV_64_LD@ \
--lpthread @LIBRT@ -lm -ldl
+-lpthread @LIBRT@ -lm
 
 	@echo " "
 	@echo "You may want to disable pulseaudio in Ubuntu with this command:"
@@ -1686,7 +1686,7 @@ elektor.om fcdpp.om hid.om pcie9842.om b
 @SVGA64_LD@ \
 @SVGAGL64_LD@ \
 @LIBUDEV_64_LD@ \
--lpthread @LIBRT@ -lm -ldl
+-lpthread @LIBRT@ -lm
 
 	@echo " "
 	@echo "You may want to disable pulseaudio in Ubuntu with this command:"