Signed-off-by: Ray Lehtiniemi <rayl@mail.com>
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1388
d19143bc-622f-0410-bfdd-
b5b2a6649095
targetos=$(uname -s)
echo "targetos=$targetos" >> config.mak
+WARNINGS="-W -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wredundant-decls"
+
case $targetos in
Darwin)
echo LIBSUF=.dylib
;;
Linux|FreeBSD)
echo LIBSUF=.so
- echo "CXXFLAGS+=-pthread -Wall -fPIC `pkg-config --cflags mlt-framework`"
+ echo "CXXFLAGS+=-pthread -Wall $WARNINGS -fPIC `pkg-config --cflags mlt-framework`"
echo "LIBFLAGS=-shared"
echo "LDFLAGS+=`pkg-config --libs mlt-framework` `pkg-config mlt-miracle --libs`"
;;