Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a856862
)
Conditionally use -D_POSIX_C_SOURCE=200809L for Linux only for now.
author
David Griffith
<dave@661.org>
Wed, 4 Sep 2019 21:42:38 +0000
(14:42 -0700)
committer
David Griffith
<dave@661.org>
Wed, 4 Sep 2019 21:42:38 +0000
(14:42 -0700)
I don't know why this was causing problems for FreeBSD.
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index f123745edcad095f5950b00aa3c9386a2842d76b..a2089622d7b4fc6be321b220a8117d7593a67a3f 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-32,13
+32,11
@@
ifneq ($(OS),Windows_NT)
SDL_LDFLAGS += -lexecinfo
endif
ifeq ($(UNAME_S),Linux)
+ CFLAGS += -D_POSIX_C_SOURCE=200809L
NPROCS = $(shell grep -c ^processor /proc/cpuinfo)
endif
endif
-# strdup, strndup
-# put this somewhere else
-#CFLAGS += -D_POSIX_C_SOURCE=200809L
# Define your optimization flags.
#