diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-24 08:01:31 +0000 |
commit | b70981b68efcce5256eb11c6cd26ae123b10b6ea (patch) | |
tree | a38be6efae5e2ba15c2e839504632f9b7bfd5f91 /main/p7zip/p7zip-cc-cxx.patch | |
parent | 2b4df81538b8398442d5296650905c70341dd8d3 (diff) | |
download | aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.bz2 aports-b70981b68efcce5256eb11c6cd26ae123b10b6ea.tar.xz |
moved extra/* to main/
and fixed misc build issues
Diffstat (limited to 'main/p7zip/p7zip-cc-cxx.patch')
-rw-r--r-- | main/p7zip/p7zip-cc-cxx.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/p7zip/p7zip-cc-cxx.patch b/main/p7zip/p7zip-cc-cxx.patch new file mode 100644 index 000000000..d06708b4b --- /dev/null +++ b/main/p7zip/p7zip-cc-cxx.patch @@ -0,0 +1,22 @@ +--- a/makefile.machine 2009-05-29 07:24:22.000000000 +0000 ++++ b/makefile.machine 2009-05-29 07:25:22.000000000 +0000 +@@ -2,6 +2,8 @@ + # makefile for Linux (x86, PPC, alpha ...) + # + ++CXX ?= g++ ++CC ?= gcc + OPTFLAGS=-O + + ALLFLAGS=${OPTFLAGS} -s \ +@@ -9,8 +11,8 @@ + -DNDEBUG -D_REENTRANT -DENV_UNIX \ + $(LOCAL_FLAGS) + +-CXX=g++ $(ALLFLAGS) +-CC=gcc $(ALLFLAGS) ++CXX += $(ALLFLAGS) ++CC += $(ALLFLAGS) + CC_SHARED=-fPIC + LINK_SHARED=-fPIC -shared + |