Commit b65c584a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont Committed by Rémi Denis-Courmont

contrib: force PIC for CMake stuff

parent 17b1d24d
......@@ -16,6 +16,6 @@ game-music-emu: game-music-emu-$(GME_VERSION).tar.bz2 .sum-gme
$(MOVE)
.gme: game-music-emu toolchain.cmake
cd $< && $(CMAKE) .
cd $< && $(HOSTVARS_PIC) $(CMAKE) .
cd $< && $(MAKE) install
touch $@
......@@ -39,7 +39,7 @@ endif
touch $@
.mpcdec: musepack toolchain.cmake
cd $< && $(CMAKE) -DSHARED=OFF .
cd $< && $(HOSTVARS_PIC) $(CMAKE) -DSHARED=OFF .
cd $< && $(MAKE) install
mkdir -p -- "$(PREFIX)/lib"
cd $< && cp libmpcdec/libmpcdec_static.a "$(PREFIX)/lib/libmpcdec.a"
......
......@@ -20,7 +20,7 @@ endif
$(MOVE)
.taglib: taglib toolchain.cmake
cd $< && $(HOSTVARS) $(CMAKE) \
cd $< && $(HOSTVARS_PIC) $(CMAKE) \
-DENABLE_STATIC:BOOL=ON \
-DWITH_ASF:BOOL=ON \
-DWITH_MP4:BOOL=ON .
......
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