Patchwork [meta-java,5/5] icedtea6-native: fix build problem

login
register
mail settings
Submitter Steffen Sledz
Date Oct. 5, 2012, 7:46 p.m.
Message ID <14deaef2a90d4c286f9fa46532965f9b96f13fab.1349466172.git.sledz@dresearch-fe.de>
Download mbox | patch
Permalink /patch/37833/
State Accepted, archived
Headers show

Comments

Steffen Sledz - Oct. 5, 2012, 7:46 p.m.
Fix problem with unknown gcc command line option '-mimpure-text'
which is an Solaris 2 only option (according to the man page).

Signed-off-by: Steffen Sledz <sledz@dresearch-fe.de>
---
 recipes-core/icedtea/icedtea6-native.inc |    1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/recipes-core/icedtea/icedtea6-native.inc b/recipes-core/icedtea/icedtea6-native.inc
index 4a613ff..13e9d27 100644
--- a/recipes-core/icedtea/icedtea6-native.inc
+++ b/recipes-core/icedtea/icedtea6-native.inc
@@ -97,6 +97,7 @@  do_configure_append() {
 			-e"s|\$(COMPILER_PATH)gcc\$(GCC_SUFFIX)|${CC}|" \
 			-e"s|\$(COMPILER_PATH)gcc\$(GCC_SUFFIX) -E|${CPP}|" \
 			-e"s|\$(COMPILER_PATH)g++\$(GCC_SUFFIX)|${CXX}|" \
+			-e"s|-mimpure-text||" \
 			$F
 	done