diff options
author | David McFarland <davidm@hb-studios.com> | 2017-04-21 11:27:27 -0300 |
---|---|---|
committer | David McFarland <davidm@hb-studios.com> | 2017-04-21 11:27:27 -0300 |
commit | d35231ec6017d72492a23b882b9275a60e1737a6 (patch) | |
tree | 7b5d392715105f3415160a86bcdd54f6f5d42d38 /mk | |
parent | 749696e71c9d637a36ab09a1368dff01b2b1bda8 (diff) |
set _GNU_SOURCE on cygwin
this is needed for pipe2()
Diffstat (limited to 'mk')
-rw-r--r-- | mk/lib.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,8 +53,8 @@ BUILD_SHARED_LIBS ?= 1 ifeq ($(BUILD_SHARED_LIBS), 1) ifeq (CYGWIN,$(findstring CYGWIN,$(OS))) - GLOBAL_CFLAGS += -U__STRICT_ANSI__ - GLOBAL_CXXFLAGS += -U__STRICT_ANSI__ + GLOBAL_CFLAGS += -U__STRICT_ANSI__ -D_GNU_SOURCE + GLOBAL_CXXFLAGS += -U__STRICT_ANSI__ -D_GNU_SOURCE else GLOBAL_CFLAGS += -fPIC GLOBAL_CXXFLAGS += -fPIC |