1
0
mirror of https://github.com/bebbo/amiga-gcc.git synced 2025-12-08 22:38:25 +00:00

Merge pull request #298 from erikarn/ahc_2022_fix_freebsd_build_newlib

Fix newlib build for FreeBSD
This commit is contained in:
Stefan "Bebbo" Franke
2022-07-26 08:42:39 +02:00
committed by GitHub

View File

@ -938,7 +938,7 @@ $(BUILD)/newlib/newlib/libc.a: $(BUILD)/newlib/newlib/Makefile $(NEWLIB_FILES)
$(BUILD)/newlib/newlib/Makefile: $(PROJECTS)/newlib-cygwin/newlib/configure $(BUILD)/ndk-include_ndk $(BUILD)/gcc/_done $(BUILD)/newlib/newlib/Makefile: $(PROJECTS)/newlib-cygwin/newlib/configure $(BUILD)/ndk-include_ndk $(BUILD)/gcc/_done
@mkdir -p $(BUILD)/newlib/newlib @mkdir -p $(BUILD)/newlib/newlib
@if [ ! -f "$(BUILD)/newlib/newlib/Makefile" ]; then \ @if [ ! -f "$(BUILD)/newlib/newlib/Makefile" ]; then \
$(L00)"configure newlib"$(L1) cd $(BUILD)/newlib/newlib && $(NEWLIB_CONFIG) CFLAGS="$(CFLAGS_FOR_TARGET)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" $(PROJECTS)/newlib-cygwin/newlib/configure --host=m68k-amigaos --prefix=$(PREFIX) --enable-newlib-io-long-long --enable-newlib-io-c99-formats --enable-newlib-reent-small --enable-newlib-mb --enable-newlib-long-time_t $(L2) \ $(L00)"configure newlib"$(L1) cd $(BUILD)/newlib/newlib && $(NEWLIB_CONFIG) CFLAGS="$(CFLAGS_FOR_TARGET)" CC_FOR_BUILD="$(CC)" CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" $(PROJECTS)/newlib-cygwin/newlib/configure --host=m68k-amigaos --prefix=$(PREFIX) --enable-newlib-io-long-long --enable-newlib-io-c99-formats --enable-newlib-reent-small --enable-newlib-mb --enable-newlib-long-time_t $(L2) \
; else touch "$(BUILD)/newlib/newlib/Makefile"; fi ; else touch "$(BUILD)/newlib/newlib/Makefile"; fi
$(PROJECTS)/newlib-cygwin/newlib/configure: $(PROJECTS)/newlib-cygwin/newlib/configure: