1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 10:59:13 +02:00

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:
Rosen Penev 2022-06-08 19:02:40 -07:00
parent c6103fe402
commit bee8b923e7
2 changed files with 14 additions and 1 deletions

View File

@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libowfat
PKG_VERSION:=0.32
PKG_RELEASE:=3
PKG_RELEASE:=4
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.fefe.de/libowfat

View 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