am 70cf2077
: Merge "Build the linker with the same -std flags as the rest of bionic."
* commit '70cf2077619cd2d177756e2bb1cf3fbf870ef355': Build the linker with the same -std flags as the rest of bionic.
This commit is contained in:
commit
227e95b2fb
@ -18,11 +18,18 @@ LOCAL_SRC_FILES:= \
|
|||||||
|
|
||||||
LOCAL_LDFLAGS := -shared -Wl,--exclude-libs,ALL
|
LOCAL_LDFLAGS := -shared -Wl,--exclude-libs,ALL
|
||||||
|
|
||||||
LOCAL_CFLAGS += -fno-stack-protector \
|
LOCAL_CFLAGS += \
|
||||||
|
-fno-stack-protector \
|
||||||
-Wstrict-overflow=5 \
|
-Wstrict-overflow=5 \
|
||||||
-fvisibility=hidden \
|
-fvisibility=hidden \
|
||||||
-Wall -Wextra -Werror \
|
-Wall -Wextra -Werror \
|
||||||
|
|
||||||
|
LOCAL_CONLYFLAGS += \
|
||||||
|
-std=gnu99 \
|
||||||
|
|
||||||
|
LOCAL_CPPFLAGS += \
|
||||||
|
-std=gnu++11 \
|
||||||
|
|
||||||
# We need to access Bionic private headers in the linker.
|
# We need to access Bionic private headers in the linker.
|
||||||
LOCAL_CFLAGS += -I$(LOCAL_PATH)/../libc/
|
LOCAL_CFLAGS += -I$(LOCAL_PATH)/../libc/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user