aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-01 16:46:40 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-01 16:46:40 +0200
commit9ca585325e52e17e24f1349a66e804fc3ffe5c45 (patch)
treee4adc5fb55bf8036225943964a0b970e9053e2e9
parentflx: fix implicit declaration of function 'exit' (diff)
downloadflxutils-9ca585325e52e17e24f1349a66e804fc3ffe5c45.tar.gz
flx: Fix gcc-4.3 'declared with attribute warn_unused_result'
-rw-r--r--flx/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/flx/Makefile b/flx/Makefile
index 6bee331..2a6a261 100644
--- a/flx/Makefile
+++ b/flx/Makefile
@@ -32,7 +32,7 @@ SRC=main.c arg.c utils.c md5.c flx.c fct1.c check.c sign.c \
output.c output_file.c
OBJ=$(SRC:.c=.o)
COPTS=-O2
-CFLAGS= -Wall $(COPTS) -DMEM_OPTIM -DPROGRAM_NAME=\"$(NAME)\" -DPROGRAM_VERSION=\"$(VERSION)\"
+CFLAGS= -Wall $(COPTS) -DMEM_OPTIM -DPROGRAM_NAME=\"$(NAME)\" -DPROGRAM_VERSION=\"$(VERSION)\" -U_FORTIFY_SOURCE
LDFLAGS=-L. -Wl,--gc-sections
all: $(NAME)