21 lines
941 B
Diff
21 lines
941 B
Diff
--- unix/Makefile
|
|
+++ unix/Makefile
|
|
@@ -764,7 +764,7 @@
|
|
linux: unix_make
|
|
@echo 'NOTE: use linux_noasm target for non-Intel Linux compiles.'
|
|
$(MAKE) unzips CC=gcc LD=gcc AS=gcc\
|
|
- CF="-O3 -Wall -I. -DASM_CRC $(LOC)"\
|
|
+ CF="$(RPM_OPT_FLAGS) -I. -DASM_CRC $(LOC)"\
|
|
AF="-Di386 $(AF)" CRC32=crc_gcc
|
|
# GRR: this echo is pointless; if user gets this far, no difference to install
|
|
# @echo 'Be sure to use the install_asm target rather than the install target'
|
|
@@ -774,7 +774,7 @@
|
|
# Linux (Posix, approximately SysV): virtually any version since before 0.96,
|
|
# for any platform. Change "-O" to "-O3" or whatever, as desired...
|
|
linux_noasm: unix_make
|
|
- $(MAKE) unzips CC=gcc LD=gcc CF="-O -Wall -I. $(LOC)"
|
|
+ $(MAKE) unzips CC=gcc LD=gcc CF="$(RPM_OPT_FLAGS) -I. $(LOC)"
|
|
|
|
# Linux with lcc compiler: __inline__ (stat.h) not recognized, and must edit
|
|
# /usr/include/gnu/types.h to get rid of "long long" if __LCC__ defined. -O3
|