mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-21 21:41:13 +00:00
don't use -Wstrict-prototypes for iOS, as it fails for MacTypes.h in SDK 2.0
This commit is contained in:
parent
2e4af5baf8
commit
26767c8e10
@ -177,6 +177,9 @@ if test "x$target" = xiphone; then
|
||||
fi
|
||||
|
||||
else
|
||||
# cannot compile for iOS with strict-prototypes because of warnings in SDK 2.0
|
||||
CPPFLAGS="$CPPFLAGS -Wstrict-prototypes"
|
||||
|
||||
case "$host_os" in
|
||||
darwin*)
|
||||
# on Mac, create universal - helps to build 32-bit iPhone Simulator apps on 64-bit machines
|
||||
@ -193,7 +196,7 @@ else
|
||||
fi
|
||||
|
||||
# treat warnings seriously
|
||||
CPPFLAGS="$CPPFLAGS -Werror -Wall -Wpointer-arith -Wstrict-prototypes"
|
||||
CPPFLAGS="$CPPFLAGS -Werror -Wall -Wpointer-arith"
|
||||
|
||||
AM_CONDITIONAL(USE_SPRINGBOARD, [test "x$USE_SPRINGBOARD" == "xyes"])
|
||||
AM_CONDITIONAL(USE_BLUETOOL, [test "x$USE_BLUETOOL" == "xyes"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user