mirror of
https://github.com/darlinghq/darling-libobjc2.git
synced 2024-12-27 14:45:29 +00:00
Change language dialect to gnu99 from c99 - earlier commit required this, but I
forgot to commit the GNUmakefile change. Note: the anonymous structure field extension that requires this is part of C1X, so we can probably change this to --std=c11 once C1X is actually finalised.
This commit is contained in:
parent
d6455e2a65
commit
df4570b90e
@ -74,7 +74,7 @@ libobjc_CPPFLAGS += -D__OBJC_RUNTIME_INTERNAL__=1 -D_XOPEN_SOURCE=500
|
||||
# Note to Riccardo. Please do not 'fix' C99isms in this. The new ABI is only
|
||||
# useful on compilers that support C99 (currently only clang), so there is no
|
||||
# benefit from supporting platforms with no C99 compiler.
|
||||
libobjc_CFLAGS += -std=c99 -g -fexceptions #-fvisibility=hidden
|
||||
libobjc_CFLAGS += -std=gnu99 -g -fexceptions #-fvisibility=hidden
|
||||
# Uncomment this when debugging - it makes everything slow, but means that the
|
||||
# debugger actually works...
|
||||
#libobjc_CFLAGS += -fno-inline
|
||||
|
Loading…
Reference in New Issue
Block a user