ソースを参照

do not set optimization CFLAGS

Waldemar Brodkorb 13 年 前
コミット
4abfe99433
2 ファイル変更13 行追加2 行削除
  1. 2 2
      package/DirectFB/Makefile
  2. 11 0
      package/DirectFB/patches/patch-configure

+ 2 - 2
package/DirectFB/Makefile

@@ -5,13 +5,13 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=		DirectFB
 PKG_VERSION:=		1.4.11
-PKG_RELEASE:=		1
+PKG_RELEASE:=		2
 PKG_EXTRAVER:=		1.4-5
 PKG_MD5SUM:=		94735ccec21120794adcce93a61445d2
 PKG_DESCR:=		Thin graphic library for the Linux framebuffer devices
 PKG_SECTION:=		libs
 PKG_DEPENDS:=		libpng libjpeg
-PKG_BUILDDEP:=		libpng jpeg
+PKG_BUILDDEP:=		libpng jpeg freetype
 PKG_URL:=		http://www.directfb.org/
 PKG_SITES:=		http://directfb.org/downloads/Core/DirectFB-1.4/
 

+ 11 - 0
package/DirectFB/patches/patch-configure

@@ -0,0 +1,11 @@
+--- DirectFB-1.4.11.orig/configure	2010-11-15 22:35:38.000000000 +0100
++++ DirectFB-1.4.11/configure	2011-01-08 11:46:41.000000000 +0100
+@@ -16257,7 +16257,7 @@ if test x"$CFLAGS" = x"-g -O2"; then
+   CFLAGS=
+ fi
+ 
+-CFLAGS="-O3 -ffast-math -pipe $CFLAGS"
++CFLAGS="-ffast-math -pipe $CFLAGS"
+ 
+ DFB_INTERNAL_CFLAGS="-D_GNU_SOURCE $DFB_INTERNAL_CFLAGS"
+