diff --git a/Makefile b/Makefile index e579b00..001145a 100644 --- a/Makefile +++ b/Makefile @@ -385,7 +385,7 @@ $(BUILD)/binutils/gprof/Makefile: projects/binutils/configure $(BUILD)/binutils/ # gcc # ================================================= CONFIG_GCC = --prefix=$(PREFIX) --target=m68k-amigaos --enable-languages=c,c++,objc --enable-version-specific-runtime-libs --disable-libssp --disable-nls \ - --with-headers=$(PWD)/projects/newlib-cygwin/newlib/libc/sys/amigaos/include/ --disable-shared \ + --with-headers=$(PWD)/projects/newlib-cygwin/newlib/libc/sys/amigaos/include/ --disable-shared --enable-threads=posix \ --with-stage1-ldflags="-dynamic-libgcc -dynamic-libstdc++" --with-boot-ldflags="-dynamic-libgcc -dynamic-libstdc++" # OSX : libs added by the command brew install gmp mpfr libmpc @@ -781,7 +781,7 @@ LIBGCCS := $(patsubst %,$(PREFIX)/lib/gcc/m68k-amigaos/$(GCC_VERSION)/%,$(LIBGCC libgcc: $(BUILD)/gcc/_libgcc_done -$(BUILD)/gcc/_libgcc_done: $(BUILD)/libnix/_done $(LIBAMIGA) $(shell find 2>/dev/null projects/gcc/libgcc -type f) +$(BUILD)/gcc/_libgcc_done: $(BUILD)/libnix/_done $(BUILD)/libpthread/_done $(LIBAMIGA) $(shell find 2>/dev/null projects/gcc/libgcc -type f) $(L0)"make libgcc"$(L1) $(MAKE) -C $(BUILD)/gcc all-target $(L2) $(L0)"install libgcc"$(L1) $(MAKE) -C $(BUILD)/gcc install-target $(L2) @echo "done" >$@