blob: 11c65e78da3e9ac140dbe0d46ffafd12e64576e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- unix/Makefile.orig Mon Mar 1 20:37:24 2004
+++ unix/Makefile Wed May 26 21:43:04 2004
@@ -42,7 +42,7 @@
# such as -DDOSWILD).
# UnZip flags
-CC = cc# try using "gcc" target rather than changing this (CC and LD
+CC ?= cc# try using "gcc" target rather than changing this (CC and LD
LD = $(CC)# must match, else "unresolved symbol: ___main" is possible)
AS = as
LOC = $(LOCAL_UNZIP)
@@ -727,8 +727,8 @@
# FreeBSD on Intel:
freebsd: unix_make
@echo 'NOTE: use bsd target for non-Intel FreeBSD compiles (if any).'
- $(MAKE) unzips CC=gcc LD=gcc AS=gcc\
- CF="-O3 -Wall -I. -DASM_CRC -DUNIX -DBSD $(LOC)"\
+ $(MAKE) unzips CC="$(CC)" LD="$(CC)" AS="$(CC)"\
+ CF="-Wall -I. -DASM_CRC -DUNIX -DBSD $(LOC)"\
AF="-Di386 $(AF)" CRC32=crc_gcc
# Generic BSDish Unix gcc. ``The -O3 only works with later versions of gcc;
|