# --- T2-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # T2 SDE: package/.../7zip/cross.patch # Copyright (C) 2007 - 2011 The T2 SDE Project # # More information can be found in the files COPYING and README. # # This patch file is dual-licensed. It is available under the license the # patched project is licensed under, as long as it is an OpenSource license # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms # of the GNU General Public License as published by the Free Software # Foundation; either version 2 of the License, or (at your option) any later # version. # --- T2-COPYRIGHT-NOTE-END --- --- p7zip_9.20/makefile.linux_any_cpu_gcc_4.X.vanilla 2011-11-20 15:20:30.000000000 +0100 +++ p7zip_9.20/makefile.linux_any_cpu_gcc_4.X 2011-11-20 15:20:54.000000000 +0100 @@ -9,9 +9,10 @@ -DNDEBUG -D_REENTRANT -DENV_UNIX \ -D_7ZIP_LARGE_PAGES \ $(LOCAL_FLAGS) - -CXX=g++ $(ALLFLAGS) -DENV_HAVE_GCCVISIBILITYPATCH -fvisibility=hidden -fvisibility-inlines-hidden -CC=gcc $(ALLFLAGS) +CXX=g++ +CC=gcc +override CXX += $(ALLFLAGS) -DENV_HAVE_GCCVISIBILITYPATCH -fvisibility=hidden -fvisibility-inlines-hidden +override CC += $(ALLFLAGS) CC_SHARED=-fPIC LINK_SHARED=-fPIC -shared