$(THISAPP)-uClibc_locale-1.patch \
$(THISAPP)-fstack_protector-1.patch \
$(THISAPP)-fortify_source-2.patch \
- $(THISAPP)-fpie-2.patch
+ $(THISAPP)-fpie-1.patch
install : $(TARGET)
--disable-libssp \
--disable-libgomp \
--disable-nls \
+ --enable-checking=none \
--with-mpfr=$(TOOLS_DIR) \
--with-gmp=$(TOOLS_DIR) \
--disable-werror
ln -fvs gcc $(TOOLS_DIR)/bin/cc
ln -sfv libgcc.a $$($(IFS_TARGET)-gcc -print-libgcc-file-name | sed 's/libgcc/&_eh/')
+ ln -svf ../include-fixed/syslimits.h \
+ $(TOOLS_DIR)/lib/gcc/$(IFS_TARGET)/$(VER)/include/syslimits.h
+ ln -svf ../include-fixed/limits.h \
+ $(TOOLS_DIR)/lib/gcc/$(IFS_TARGET)/$(VER)/include/limits.h
endif
ifeq "$(PASS)" "2"
cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-fstack_protector-1.patch
endif
ifeq "$(PIE)" "1"
- cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-fpie-2.patch
+ cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-fpie-1.patch
endif
cd $(DIR_APP) && sed 's@\./fixinc\.sh@-c true@' -i gcc/Makefile.in
cd $(DIR_APP) && sed 's/^XCFLAGS =$$/& -fomit-frame-pointer/' -i gcc/Makefile.in