1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Pass flags correctly.
Author: Jaromír Mikeš <mira.mikes@seznam.cz>
Forwarded: yno
Index: tap-plugins/Makefile
===================================================================
--- tap-plugins.orig/Makefile
+++ tap-plugins/Makefile
@@ -35,8 +35,8 @@ INSTALL_LRDF_DIR = /usr/local/share/lads
# GENERAL
CC = gcc
-CFLAGS = -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
-LDFLAGS = -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
+CFLAGS += -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+LDFLAGS += -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
MODULES = $(wildcard *.c)
all: $(MODULES:%.c=%.so)
|