Files
shadowsocks-libev/libsodium
Syrone Wong a135d9c41e libsodium: Fix _FORTIFY_SOURCE redefined issue
If we already defined `CFLAGS=-D_FORTIFY_SOURCE=1`, it will still check `-D_FORTIFY_SOURCE=2` and
add it to CPPFLAGS. In this case, we redefine `_FORTIFY_SOURCE` to both 1 and 2 if compiler accepts `-D_FORTIFY_SOURCE=2`.

Fix this issue by checking whether `_FORTIFY_SOURCE` was defined or not.
If defined, do nothing. If not, then check `-D_FORTIFY_SOURCE=2`.

BTW, OpenWrt's buildroot uses `-D_FORTIFY_SOURCE=1` for most targets by default.
2015-08-02 10:21:42 +08:00
..
2014-12-13 08:06:08 +00:00
2014-12-13 08:03:49 +00:00
2014-12-13 08:03:49 +00:00
2014-12-13 08:03:49 +00:00
2014-12-14 03:29:27 +00:00
2014-12-13 14:34:05 +08:00
2014-12-13 14:34:05 +08:00
2014-12-13 14:34:05 +08:00
2014-12-14 03:29:27 +00:00
2014-12-13 14:34:05 +08:00
2014-12-13 14:34:05 +08:00
2014-12-16 18:26:37 +09:00
2014-12-16 18:26:37 +09:00
2014-12-13 14:34:05 +08:00
2014-12-13 14:34:05 +08:00

See README.markdown