Commit Graph

10 Commits

Author SHA1 Message Date
Christopher Meng 4ec783f748 $(EXTRA_CFLAGS) FOR RPM %{optflags}
We RPM packaging system need to use optflags for secure building, and of course will override the flags you've defined.

However the current one is not good, we should leave it to the end of the flags queue.

[rpmaker@fab SPECS]$ rpm -E %{optflags}
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
2013-08-22 13:40:19 +08:00
Eric 853524c2ae remove redundant -Ws from Makefile 2013-08-20 19:24:18 -04:00
Alex Halderman 5e4143973d Undefine _FORTIFY_SOURCE before defining it, in case it's set by the distro.
Fixes Issue #7.
2013-08-20 13:05:47 -04:00
Alex Halderman 9200992976 Remove Redis objects on make clean
Resolves Issue #33.
2013-08-20 12:23:12 -04:00
Alex Halderman f34343a887 Clean up Makefile success output 2013-08-20 12:20:53 -04:00
Alex Halderman b588a7dbaf Clean up GCC flags
Remove some redundant or repeated flags, as noted by ppannuto in Issue #23.
2013-08-20 12:11:48 -04:00
Alex Halderman 81f25a1848 Fix unrecognized option errors when building with older versions of GCC (Issue #23).
This approach suggested by ppannuto.
2013-08-20 12:01:01 -04:00
Zakir Durumeric aa090e63eb Fixing issue #24; accidentally clobbering LDFLAGS and CFLAGS previously. 2013-08-19 21:02:27 -04:00
Eric 597a0c252e remove ssldb and fix redis callback 2013-08-17 02:35:27 -04:00
Zakir Durumeric 490054d239 inital public release 2013-08-16 11:12:47 -04:00