libowfat: try to fix compilation under ARC
CFLAGS are not being passed. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
c6103fe402
commit
bee8b923e7
2 changed files with 14 additions and 1 deletions
|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libowfat
|
PKG_NAME:=libowfat
|
||||||
PKG_VERSION:=0.32
|
PKG_VERSION:=0.32
|
||||||
PKG_RELEASE:=3
|
PKG_RELEASE:=4
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.fefe.de/libowfat
|
PKG_SOURCE_URL:=https://www.fefe.de/libowfat
|
||||||
|
|
13
libs/libowfat/patches/020-cflags.patch
Normal file
13
libs/libowfat/patches/020-cflags.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -37,8 +37,8 @@ OPT_PLUS=-O3 $(NATIVE)
|
||||||
|
|
||||||
|
DEFINE=-D_REENTRANT
|
||||||
|
|
||||||
|
-CFLAGS=-pipe $(WARN) $(DEFINE) $(OPT_REG)
|
||||||
|
-CFLAGS_OPT=-pipe $(WARN) $(DEFINE) $(OPT_PLUS)
|
||||||
|
+CFLAGS+=-pipe $(WARN) $(DEFINE) $(OPT_REG)
|
||||||
|
+CFLAGS_OPT+=-pipe $(WARN) $(DEFINE) $(OPT_PLUS)
|
||||||
|
|
||||||
|
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
|
||||||
|
|
Loading…
Reference in a new issue