diff options
author | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-25 12:45:34 +0100 |
---|---|---|
committer | Andoni Morales Alastruey <ylatuya@gmail.com> | 2013-03-25 12:45:34 +0100 |
commit | 26342a0d938fd39027e7c073e8faabee19bc73cc (patch) | |
tree | 346e4a45d903a89bd1f87ab82e1606515ffcaba1 | |
parent | 71950893360f6511e9c991a0f7d7ae1b019c6165 (diff) |
ndk-build: use TARGET_CFLAGS and TARGET_LDFLAGS
-rwxr-xr-x | data/ndk-build/gstreamer.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/ndk-build/gstreamer.mk b/data/ndk-build/gstreamer.mk index 3d2581b..16a040b 100755 --- a/data/ndk-build/gstreamer.mk +++ b/data/ndk-build/gstreamer.mk @@ -152,7 +152,7 @@ ifndef SYSROOT endif # Create the link command -GSTREAMER_ANDROID_CMD := $(call libtool-link,$(TARGET_CC) $(LDFLAGS) -shared --sysroot=$(SYSROOT) \ +GSTREAMER_ANDROID_CMD := $(call libtool-link,$(TARGET_CC) $(TARGET_LDFLAGS) -shared --sysroot=$(SYSROOT) \ -o $(GSTREAMER_ANDROID_SO) $(GSTREAMER_ANDROID_O) \ -L$(GSTREAMER_SDK_ROOT)/lib -L$(GSTREAMER_STATIC_PLUGINS_PATH) $(G_IO_MODULES_PATH) \ $(GSTREAMER_ANDROID_LIBS), $(GSTREAMER_LD)) -Wl,-no-undefined $(GSTREAMER_LD) @@ -172,7 +172,7 @@ genstatic: # Compile the source file $(GSTREAMER_ANDROID_O): genstatic @$(HOST_ECHO) "GStreamer : [COMPILE] => $(GSTREAMER_ANDROID_C)" - @$(TARGET_CC) --sysroot=$(SYSROOT) $(CFLAGS) -c $(GSTREAMER_ANDROID_C) -Wall -Werror -o $(GSTREAMER_ANDROID_O) $(GSTREAMER_ANDROID_CFLAGS) + @$(TARGET_CC) --sysroot=$(SYSROOT) $(TARGET_CFLAGS) -c $(GSTREAMER_ANDROID_C) -Wall -Werror -o $(GSTREAMER_ANDROID_O) $(GSTREAMER_ANDROID_CFLAGS) # Creates a shared library including gstreamer, its plugins and all the dependencies buildsharedlibrary: $(GSTREAMER_ANDROID_O) |