From 253cbba6f8a054faa5dfd692e1255d6e8f7421f7 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Fri, 23 Nov 2007 08:44:15 +0000 Subject: [PATCH] Stefan Fiedler: flex: include correct headers in cross builds [2007110422102516873] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8883 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/flex/flex.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/base/flex/flex.conf b/package/base/flex/flex.conf index f8206b316..4f3a1cff4 100644 --- a/package/base/flex/flex.conf +++ b/package/base/flex/flex.conf @@ -20,6 +20,9 @@ # # --- ROCK-COPYRIGHT-NOTE-END --- +# Avoids using the wrong asm/ headers. +var_append confopt ' ' '--includedir=$includedir' +var_append makeinstopt ' ' 'includedir=${includedir#$root}' pkg_flex_postmake() { echo -e '#!/bin/sh\nexec flex -l "$@"' > $instroot/usr/bin/lex