Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

Commit

Permalink
Merge pull request #779 from 01org/sboeuf/ensure_secu_flags
Browse files Browse the repository at this point in the history
Makefile: Ensure noexecstack and relro are enabled
  • Loading branch information
amshinde authored Mar 28, 2017
2 parents 0378ba6 + a76a2f5 commit 348a80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ AM_CFLAGS = -std=gnu99 -fstack-protector -Wall -pedantic \
-Wconversion -Wunreachable-code \
-fPIE

AM_LDFLAGS = -pie
AM_LDFLAGS = -pie -z noexecstack -z relro -z now

# We set --with-systemdunitdir here so make distcheck can run make install as a
# normal user and not fail.
Expand Down

0 comments on commit 348a80c

Please sign in to comment.