Commit 76aaa4e1 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

buildVLCKit: Remove superfluous flags configuration

parent 612600a7
......@@ -189,20 +189,6 @@ buildLibVLC() {
# clean the environment
export PATH="${VLCROOT}/extras/tools/build/bin:${VLCROOT}/contrib/${TARGET}/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin"
export CFLAGS=""
export CPPFLAGS=""
export CXXFLAGS=""
export OBJCFLAGS=""
export LDFLAGS=""
CFLAGS="-isysroot ${SDKROOT} -arch ${ARCH} ${OPTIM} -mmacosx-version-min=${SDK_MIN} -march=core2 -mtune=core2"
LDFLAGS="-isysroot ${SDKROOT} -L${SDKROOT}/usr/lib -arch ${ARCH} -Wl,-macosx_version_min,${SDK_MIN}"
export CFLAGS="${CFLAGS}"
export CXXFLAGS="${CFLAGS}"
export CPPFLAGS="${CFLAGS}"
export OBJCFLAGS="${CFLAGS}"
export LDFLAGS="${LDFLAGS}"
info "Building contrib"
spushd contrib
......@@ -210,9 +196,6 @@ buildLibVLC() {
spushd vlckitbuild
../bootstrap --build=${TARGET} --disable-bluray --disable-growl --disable-sparkle --disable-SDL --disable-SDL_image --disable-microdns --disable-fontconfig --disable-bghudappkit --disable-protobuf
echo "EXTRA_CFLAGS += ${CFLAGS}" >> config.mak
echo "EXTRA_LDFLAGS += ${LDFLAGS}" >> config.mak
make -j$MAKE_JOBS fetch ${args}
make -j$MAKE_JOBS .gettext ${args}
make -j$MAKE_JOBS ${args}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment