aboutsummaryrefslogtreecommitdiff
path: root/system/p7zip/makefile.slackware-i686
diff options
context:
space:
mode:
Diffstat (limited to 'system/p7zip/makefile.slackware-i686')
-rw-r--r--system/p7zip/makefile.slackware-i68623
1 files changed, 23 insertions, 0 deletions
diff --git a/system/p7zip/makefile.slackware-i686 b/system/p7zip/makefile.slackware-i686
new file mode 100644
index 0000000000000..f01e696419f2c
--- /dev/null
+++ b/system/p7zip/makefile.slackware-i686
@@ -0,0 +1,23 @@
+#
+# makefile for Linux (x86, PPC, alpha ...)
+#
+
+OPTFLAGS=-O2
+
+SLKCFLAGS=-march=i686 -mtune=i686
+
+ALLFLAGS=${OPTFLAGS} ${SLKCFLAGS} -s \
+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
+ -DNDEBUG -D_REENTRANT -DENV_UNIX \
+ $(LOCAL_FLAGS)
+
+CXX=g++ $(ALLFLAGS)
+CC=gcc $(ALLFLAGS)
+CC_SHARED=-fPIC
+LINK_SHARED=-fPIC -shared
+
+LOCAL_LIBS=-lpthread
+LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
+
+OBJ_CRC32=$(OBJ_CRC32_C)
+