< prev index next >
modules/media/src/main/native/gstreamer/projects/mac/gstreamer-lite/Makefile
Print this page
rev 9887 : 8145604: Change minimum version of OS X SDK to 10.9
Reviewed-by: almatvee
@@ -39,12 +39,11 @@
gst-plugins-good/sys/osxaudio
TARGET_NAME = lib$(BASE_NAME).dylib
TARGET = $(BUILD_DIR)/$(TARGET_NAME)
-CFLAGS = -arch x86_64 \
- -fPIC \
+CFLAGS += -fPIC \
-Werror=implicit-function-declaration \
-D_GNU_SOURCE \
-DGST_REMOVE_DEPRECATED \
-DGST_DISABLE_GST_DEBUG \
-DGST_DISABLE_LOADSAVE \
@@ -52,12 +51,11 @@
-DG_DISABLE_ASSERT \
-DHAVE_CONFIG_H \
-DGSTREAMER_LITE \
-DGST_REMOVE_DISABLED \
-DOSX \
- -msse2 \
- -mmacosx-version-min=10.7
+ -msse2
ifeq ($(BUILD_TYPE), Release)
CFLAGS += -Os
else
CFLAGS += -O0 -g -Wall
@@ -73,13 +71,16 @@
-I$(GLIB_DIR) \
-I$(GLIB_DIR)/glib \
-I$(GLIB_DIR)/gmodule \
-I$(GLIB_DIR)/build/osx
-LDFLAGS = -mmacosx-version-min=10.7 -arch x86_64 \
- -L$(BUILD_DIR) -Wl,-install_name,@rpath/$(TARGET_NAME) -lglib-lite \
- -framework CoreAudio -framework AudioUnit -framework CoreServices
+LDFLAGS += -L$(BUILD_DIR) \
+ -Wl,-install_name,@rpath/$(TARGET_NAME) \
+ -lglib-lite \
+ -framework CoreAudio \
+ -framework AudioUnit \
+ -framework CoreServices
C_SOURCES = gstreamer/libs/gst/base/gstbytereader.c \
gstreamer/gst/gst.c \
gstreamer/gst/gstbin.c \
gstreamer/gst/gstbuffer.c \
< prev index next >