tweaks to fix regressions related to gcc wanting libc headers
This commit is contained in:
parent
7d58f6a9bf
commit
2a124546d1
5
Makefile
5
Makefile
|
@ -15,13 +15,13 @@ GCC_CONFIG = $(COMMON_CONFIG) \
|
||||||
--disable-libquadmath --disable-decimal-float
|
--disable-libquadmath --disable-decimal-float
|
||||||
|
|
||||||
GCC0_CONFIG = $(GCC_CONFIG) \
|
GCC0_CONFIG = $(GCC_CONFIG) \
|
||||||
--without-headers --disable-libssp --disable-threads \
|
--with-newlib --disable-libssp --disable-threads \
|
||||||
--disable-shared --disable-libgomp --disable-libatomic \
|
--disable-shared --disable-libgomp --disable-libatomic \
|
||||||
--disable-libquadmath --disable-decimal-float --disable-nls \
|
--disable-libquadmath --disable-decimal-float --disable-nls \
|
||||||
--enable-languages=c \
|
--enable-languages=c \
|
||||||
CFLAGS="-O0 -g0" CXXFLAGS="-O0 -g0"
|
CFLAGS="-O0 -g0" CXXFLAGS="-O0 -g0"
|
||||||
|
|
||||||
MUSL_CONFIG = CC=$(OUTPUT)/bin/$(TARGET)-gcc --prefix=/usr
|
MUSL_CONFIG = CC=$(OUTPUT)/bin/$(TARGET)-gcc --prefix=
|
||||||
|
|
||||||
-include config.mak
|
-include config.mak
|
||||||
|
|
||||||
|
@ -118,4 +118,5 @@ steps/build_musl: steps/configure_musl
|
||||||
|
|
||||||
steps/install_musl: steps/build_musl
|
steps/install_musl: steps/build_musl
|
||||||
cd musl && $(MAKE) install DESTDIR=$(OUTPUT)/$(TARGET)
|
cd musl && $(MAKE) install DESTDIR=$(OUTPUT)/$(TARGET)
|
||||||
|
ln -sfn . $(OUTPUT)/$(TARGET)/usr
|
||||||
touch $@
|
touch $@
|
||||||
|
|
Loading…
Reference in New Issue