diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-12 21:36:19 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-12 21:37:40 +0000 |
commit | 47c71fbe7583fa29f604f5010bc6218d3f5856e3 (patch) | |
tree | 194cf51075fcbf5ddff60465c8f5cc6ecd697a21 /main/gcc/fix-cxxflags-passing.patch | |
parent | 752ebe08e01fecb6b67db131fdd230717aaf4505 (diff) | |
download | aports-47c71fbe7583fa29f604f5010bc6218d3f5856e3.tar.bz2 aports-47c71fbe7583fa29f604f5010bc6218d3f5856e3.tar.xz |
main/gcc: fix crossbuild and musl support
Diffstat (limited to 'main/gcc/fix-cxxflags-passing.patch')
-rw-r--r-- | main/gcc/fix-cxxflags-passing.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gcc/fix-cxxflags-passing.patch b/main/gcc/fix-cxxflags-passing.patch new file mode 100644 index 0000000000..8eb1de77d5 --- /dev/null +++ b/main/gcc/fix-cxxflags-passing.patch @@ -0,0 +1,10 @@ +--- gcc-4.8.1/Makefile.in.orig ++++ gcc-4.8.1/Makefile.in +@@ -169,6 +169,7 @@ + # built for the build system to override those in BASE_FLAGS_TO_PASSS. + EXTRA_BUILD_FLAGS = \ + CFLAGS="$(CFLAGS_FOR_BUILD)" \ ++ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \ + LDFLAGS="$(LDFLAGS_FOR_BUILD)" + + # This is the list of directories to built for the host system. |