projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
package/kernel: create packages for the LED Timer/Default ON triggers
[openwrt.git]
/
toolchain
/
gcc
/
final
/
Makefile
diff --git
a/toolchain/gcc/final/Makefile
b/toolchain/gcc/final/Makefile
index
1decc95
..
b0fe200
100644
(file)
--- a/
toolchain/gcc/final/Makefile
+++ b/
toolchain/gcc/final/Makefile
@@
-3,12
+3,13
@@
GCC_VARIANT:=final
include ../common.mk
GCC_CONFIGURE += \
include ../common.mk
GCC_CONFIGURE += \
+ --with-headers=$(TOOLCHAIN_DIR)/include \
--enable-languages=$(TARGET_LANGUAGES) \
--enable-shared \
--enable-threads \
--with-slibdir=$(TOOLCHAIN_DIR)/lib
--enable-languages=$(TARGET_LANGUAGES) \
--enable-shared \
--enable-threads \
--with-slibdir=$(TOOLCHAIN_DIR)/lib
-ifneq ($(CONFIG_GCC_VERSION_4_5),)
+ifneq ($(CONFIG_GCC_VERSION_4_5)
$(CONFIG_GCC_VERSION_4_6)
,)
GCC_CONFIGURE += \
--enable-lto \
--with-libelf=$(TOPDIR)/staging_dir/host
GCC_CONFIGURE += \
--enable-lto \
--with-libelf=$(TOPDIR)/staging_dir/host
@@
-22,6
+23,11
@@
else
--disable-tls
endif
--disable-tls
endif
+ifneq ($(CONFIG_SJLJ_EXCEPTIONS),)
+ GCC_CONFIGURE += \
+ --enable-sjlj-exceptions
+endif
+
define Host/Configure
mkdir -p $(GCC_BUILD_DIR) $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)
# Important! Required for limits.h to be fixed.
define Host/Configure
mkdir -p $(GCC_BUILD_DIR) $(TOOLCHAIN_DIR)/$(REAL_GNU_TARGET_NAME)
# Important! Required for limits.h to be fixed.
@@
-65,6
+71,7
@@
define Host/Install
done; \
);
$(if $(CONFIG_EXTRA_TARGET_ARCH),$(call SetupExtraArch))
done; \
);
$(if $(CONFIG_EXTRA_TARGET_ARCH),$(call SetupExtraArch))
+ $(SCRIPT_DIR)/patch-specs.sh "$(TOOLCHAIN_DIR)"
endef
$(eval $(call HostBuild))
endef
$(eval $(call HostBuild))
This page took
0.02826 seconds
and
4
git commands to generate.