diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-08-20 12:20:45 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2013-08-20 12:21:56 +0530 |
commit | 2bc0ce1e88107fbaf220152d2a89d8fbbf2d6e0e (patch) | |
tree | bbcf7b923d1baca59eec0a539a8c65da69f022f7 | |
parent | a775f55b9f607c0a9ae5aa13b8af23e5285f8811 (diff) |
Use arch-specific CFLAGS/LDFLAGS in build
Needed for building with NEON support, for example
-rw-r--r-- | Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,7 @@ CONFIGURE_CXX := $(patsubst %,$(PWD)/%,$(TARGET_CXX)) CONFIGURE_LDFLAGS += -L$(PWD)/$(TARGET_OUT_INTERMEDIATE_LIBRARIES) CONFIGURE_CFLAGS := \ + $(arch_variant_cflags) \ -DANDROID \ -nostdlib -Bdynamic \ -Wl,-dynamic-linker,/system/bin/linker \ @@ -45,6 +46,7 @@ CONFIGURE_CFLAGS := \ CONFIGURE_CXXFLAGS := $(CONFIGURE_CFLAGS) CONFIGURE_LDFLAGS += \ + $(arch_variant_ldflags) \ $(PWD)/$(TARGET_CRTBEGIN_DYNAMIC_O) \ $(call link-whole-archives,$(PRIVATE_WHOLE_STATIC_LIBRARIES))\ $(PRIVATE_STATIC_LIBRARIES) \ |