diff options
author | Andy Green <andy.green@linaro.org> | 2012-10-19 10:13:32 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-10-19 10:14:54 +0800 |
commit | 34fd0997aedbbab319fba334a19a6e669fc45f13 (patch) | |
tree | c507604070a6c9be3ef4ebb34d9b4e5bb2e76fb6 | |
parent | 42d8937c72027d1d2ed7ace76439c527ef896a97 (diff) |
add fstack protector to everything
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | aepd/Makefile.am | 2 | ||||
-rw-r--r-- | arm-probe/Makefile.am | 2 | ||||
-rw-r--r-- | libarmep/Makefile.am | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/aepd/Makefile.am b/aepd/Makefile.am index cd21aee..1af41c2 100644 --- a/aepd/Makefile.am +++ b/aepd/Makefile.am @@ -1,6 +1,6 @@ bin_PROGRAMS=aepd aepd_SOURCES=main.c websocket-protocol.c -aepd_CFLAGS=-fPIC -Wall -Werror -D_FORTIFY_SOURCE=2 -std=gnu99 -pedantic -DINSTALL_DATADIR=\"${datarootdir}\" +aepd_CFLAGS=-fPIC -Wall -Werror -D_FORTIFY_SOURCE=2 -fstack-protector -std=gnu99 -pedantic -DINSTALL_DATADIR=\"${datarootdir}\" aepd_LDFLAGS=-fPIC aepd_LDADD=-L../libarmep -larmep -lwebsockets diff --git a/arm-probe/Makefile.am b/arm-probe/Makefile.am index ba5b19a..4d19416 100644 --- a/arm-probe/Makefile.am +++ b/arm-probe/Makefile.am @@ -1,6 +1,6 @@ bin_PROGRAMS=arm-probe arm_probe_SOURCES=arm-probe.c -arm_probe_CFLAGS=-fPIC -Wall -Werror -std=gnu99 -pedantic -pthread -D_FORTIFY_SOURCE=2 +arm_probe_CFLAGS=-fPIC -Wall -Werror -std=gnu99 -pedantic -pthread -D_FORTIFY_SOURCE=2 -fstack-protector arm_probe_LDFLAGS=-fPIC -pthread arm_probe_LDADD=-L../libarmep -larmep diff --git a/libarmep/Makefile.am b/libarmep/Makefile.am index 43f30b7..e1ed7fc 100644 --- a/libarmep/Makefile.am +++ b/libarmep/Makefile.am @@ -8,7 +8,7 @@ dist_libarmep_la_SOURCES=sample.c \ service.c \ libarmep.h -libarmep_la_CFLAGS=-Wall -Werror -std=gnu99 -pedantic -pthread -D_FORTIFY_SOURCE=2 +libarmep_la_CFLAGS=-Wall -Werror -std=gnu99 -pedantic -pthread -D_FORTIFY_SOURCE=2 -fstack-protector libarmep_la_LDFLAGS=-pthread libarmep_la_CFLAGS+= -c \ |