forked from pool/unzip
94175f1a3d
Copy from Archiving/unzip based on submit request 39794 from user psmt OBS-URL: https://build.opensuse.org/request/show/39794 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/unzip?expand=0&rev=12
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
Index: unix/Makefile
|
|
===================================================================
|
|
--- unix/Makefile.orig 2010-05-10 17:45:59.892090727 +0200
|
|
+++ unix/Makefile 2010-05-10 17:46:18.636090912 +0200
|
|
@@ -773,7 +773,7 @@ isi: unix_make
|
|
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'
|
|
@@ -783,7 +783,7 @@ linux_asm: linux
|
|
# 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
|