Browse Source

cfgfs: -O3 seems broken for x86_64

Waldemar Brodkorb 9 years ago
parent
commit
f225a5dfe6
1 changed files with 3 additions and 0 deletions
  1. 3 0
      package/cfgfs/Makefile

+ 3 - 0
package/cfgfs/Makefile

@@ -26,6 +26,9 @@ include ${ADK_TOPDIR}/mk/package.mk
 
 
 $(eval $(call PKG_template,CFGFS,cfgfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 $(eval $(call PKG_template,CFGFS,cfgfs,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
 
 
+# runtime problems on x86_64 with O3
+TARGET_CFLAGS:=         $(subst O3,Os,$(TARGET_CFLAGS))
+
 CONFIG_STYLE:=		manual
 CONFIG_STYLE:=		manual
 INSTALL_STYLE:=		manual
 INSTALL_STYLE:=		manual