aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-08-21 19:18:02 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-08-21 19:18:02 +0000
commit90cee0c351f43a37b626c08d8262eaa3237f4de9 (patch)
tree5ab975ec4c6ee3f731b830a072ffe9ad432c0349 /Makefile
parentf8e891a97ca09cf2bb05e306d4997db3823c21aa (diff)
downloadffmpeg-90cee0c351f43a37b626c08d8262eaa3237f4de9.tar.gz
darwin patches by Heliodoro Tammaro <helio at interactives dot org>
Originally committed as revision 857 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 41ef2af864..8d2d7113ca 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,11 @@ include config.mak
VPATH=$(SRC_PATH)
CFLAGS= $(OPTFLAGS) -Wall -g -I. -I$(SRC_PATH) -I$(SRC_PATH)/libavcodec -I$(SRC_PATH)/libav -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
+ifeq ($(CONFIG_DARWIN),yes)
+LDFLAGS+= -g -d
+else
LDFLAGS+= -g -Wl,--warn-common
+endif
ifeq ($(TARGET_GPROF),yes)
CFLAGS+=-p