From da105586347f2acc281f7bcdc4797dbb6000f048 Mon Sep 17 00:00:00 2001 From: Marc Andre Tanner Date: Wed, 2 Dec 2009 18:55:41 +0100 Subject: [PATCH] Add missing ${C,LD}FLAGS to various package builds Signed-off-by: Marc Andre Tanner --- sources/sections/eina.sh | 2 +- sources/sections/freetype.sh | 2 +- sources/sections/libjpeg.sh | 2 +- sources/sections/qi-bootmenu.sh | 1 + sources/sections/tslib.sh | 2 +- sources/sections/zlib.sh | 3 +-- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sources/sections/eina.sh b/sources/sections/eina.sh index f789388..c288d0a 100644 --- a/sources/sections/eina.sh +++ b/sources/sections/eina.sh @@ -5,7 +5,7 @@ setupfor eina # --enable-default-mempool depends on pass-through # --disable-chained-pool con't be used because edje requires it -./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \ +LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \ --disable-cpu-mmx \ --disable-cpu-sse \ --disable-cpu-sse2 \ diff --git a/sources/sections/freetype.sh b/sources/sections/freetype.sh index c5ce280..a241301 100644 --- a/sources/sections/freetype.sh +++ b/sources/sections/freetype.sh @@ -2,7 +2,7 @@ setupfor freetype cp "$CONFIG_DIR/freetype-modules.cfg" modules.cfg -./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr && +LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr && make && make DESTDIR="$STAGING_DIR" install || dienow diff --git a/sources/sections/libjpeg.sh b/sources/sections/libjpeg.sh index 2e606cf..29af5d9 100644 --- a/sources/sections/libjpeg.sh +++ b/sources/sections/libjpeg.sh @@ -1,6 +1,6 @@ setupfor libjpeg -./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr && +LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr && make && make DESTDIR="$STAGING_DIR" install || dienow diff --git a/sources/sections/qi-bootmenu.sh b/sources/sections/qi-bootmenu.sh index 890d4a1..200d40b 100644 --- a/sources/sections/qi-bootmenu.sh +++ b/sources/sections/qi-bootmenu.sh @@ -1,5 +1,6 @@ setupfor qi-bootmenu +echo LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" make && LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" make && make PREFIX=/usr DESTDIR="$ROOT_DIR" install diff --git a/sources/sections/tslib.sh b/sources/sections/tslib.sh index 6defa60..d809a63 100644 --- a/sources/sections/tslib.sh +++ b/sources/sections/tslib.sh @@ -4,7 +4,7 @@ setupfor tslib # --enable-linear-h2200 -./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \ +LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure $CROSS_CONFIGURE_FLAGS --prefix=/usr \ --enable-static \ --disable-h3600 \ --enable-input \ diff --git a/sources/sections/zlib.sh b/sources/sections/zlib.sh index e4bed09..c21e186 100644 --- a/sources/sections/zlib.sh +++ b/sources/sections/zlib.sh @@ -6,8 +6,7 @@ make && make prefix="$STAGING_DIR/usr" install || dienow # building shared lib -./configure --prefix=/usr \ ---shared && +LDFLAGS="$LDFLAGS" CFLAGS="$CFLAGS" ./configure --prefix=/usr --shared && make && make prefix="$STAGING_DIR/usr" install || dienow -- 2.11.4.GIT