Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefiles: Fix _FORTIFY_SOURCE macros #155

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ DIME_CHECK_CPPINCLUDES = -Icheck/dime \
$(MAGMA_CINCLUDES)

CDEFINES = -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE \
-DHAVE_NS_TYPE -DFORTIFY_SOURCE=2 -DMAGMA_PEDANTIC
-DHAVE_NS_TYPE -D_FORTIFY_SOURCE=2 -DMAGMA_PEDANTIC
CDEFINES.build.c = -DMAGMA_VERSION=\"$(MAGMA_VERSION)\" \
-DMAGMA_COMMIT=\"$(MAGMA_COMMIT)\" \
-DMAGMA_TIMESTAMP=\"$(MAGMA_TIMESTAMP)\"
Expand Down
2 changes: 1 addition & 1 deletion dev/tools/pwtool/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -DMAGMA_PEDANTIC -D_REENTRANT -D_GNU_SOURCE -DFORTIFY_SOURCE=2 -DHAVE_NS_TYPE -D_LARGEFILE64_SOURCE -O0 -g3 -Wall -Werror -fmessage-length=0 -std=gnu99
CFLAGS = -DMAGMA_PEDANTIC -D_REENTRANT -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DHAVE_NS_TYPE -D_LARGEFILE64_SOURCE -O0 -g3 -Wall -Werror -fmessage-length=0 -std=gnu99
MAGMA_SO_PATH = ../../lib
MAGMA_PATH = ../../src
APPNAME = pwtool
Expand Down