create an empty libretrocrt.a so that cmake's compiler test doesn't fail during initial build. Fixes issue #9.

This commit is contained in:
Wolfgang Thaller 2014-10-12 20:04:55 +02:00
parent 7581140436
commit b9229ef00b

View File

@ -66,6 +66,10 @@ cd build-host
cmake ../../Retro68/ -DCMAKE_INSTALL_PREFIX=$PREFIX
cd ..
# create an empty libretrocrt.a so that cmake's compiler test doesn't fail
$PREFIX/bin/m68k-unknown-elf-ar cqs $PREFIX/m68k-unknown-elf/lib/libretrocrt.a
# the real libretrocrt.a is built and installed by `make -C build-target install` later
mkdir -p build-target
cd build-target
cmake ../../Retro68/ -DCMAKE_INSTALL_PREFIX=$PREFIX/m68k-unknown-elf \