llvm: remove define of _GNU_SOURCE
llvm's cmake has been patched to define it as on glibc
This commit is contained in:
parent
43d3c125e5
commit
4fb178e775
@ -208,11 +208,6 @@ build() {
|
|||||||
|
|
||||||
platform_config+=(-DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86")
|
platform_config+=(-DLLVM_TARGETS_TO_BUILD="AArch64;ARM;X86")
|
||||||
|
|
||||||
# Unlike Linux, Cygwin does not define it OOTB
|
|
||||||
CFLAGS+=" -D_GNU_SOURCE=1"
|
|
||||||
CXXFLAGS+=" -D_GNU_SOURCE=1"
|
|
||||||
CPPFLAGS+=" -D_GNU_SOURCE=1"
|
|
||||||
|
|
||||||
cmake \
|
cmake \
|
||||||
-GNinja \
|
-GNinja \
|
||||||
-B build \
|
-B build \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user