blob: 4338cf8dad13819df7e98d74e98b5d038fba0839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- libowfat-0.33.orig/GNUmakefile 2021-04-24 12:47:51.000000000 +0200
+++ libowfat-0.33/GNUmakefile 2024-02-23 05:07:36.527866006 +0100
@@ -23,9 +23,9 @@ picx32 piex32:
CROSS=
#CROSS=i686-mingw-
-CC?=gcc
-AR?=ar
-RANLIB?=ranlib
+CC=gcc
+AR=ar
+RANLIB=ranlib
CCC=$(CROSS)$(CC)
WERROR=
WARN=-W -Wall -Wextra $(WERROR)
@@ -41,7 +41,8 @@ OPT_PLUS=-O3 $(NATIVE)
DEFINE=-D_REENTRANT
-CFLAGS=-pipe $(WARN) $(DEFINE) $(OPT_REG)
+CFLAGS?=
+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
|