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