aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xorg-util/util-macros_1.2.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xorg-util/util-macros_1.2.1.bb')
-rw-r--r--recipes/xorg-util/util-macros_1.2.1.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes/xorg-util/util-macros_1.2.1.bb b/recipes/xorg-util/util-macros_1.2.1.bb
index 4775fc6901..ddf8874a3b 100644
--- a/recipes/xorg-util/util-macros_1.2.1.bb
+++ b/recipes/xorg-util/util-macros_1.2.1.bb
@@ -1,5 +1,11 @@
require xorg-util-common.inc
+# Version 1.2.1 uses plain `gcc' for checking the compiler version.
+# Instead, the cross compiler must be used. Whenever upgrading to
+# a new version, please recheck for this problem, otherwise it breaks
+# builds with older gcc versions!
+SRC_URI += " file://cross-compiler-for-checking.patch;patch=1"
+
DESCRIPTION = "X autotools macros"
PE = "1"