aboutsummaryrefslogtreecommitdiffstats
path: root/testing/9base/config.mk.s390x
diff options
context:
space:
mode:
authorJoshua Haase <hahj87@gmail.com>2019-10-05 23:26:27 -0500
committerKevin Daudt <kdaudt@alpinelinux.org>2019-10-08 19:51:09 +0000
commitd7536614fdd311855aca0f568bdaee6730770155 (patch)
tree93a8821b08504d471f6479805cf5d85b82f37def /testing/9base/config.mk.s390x
parentead7994005b44be3b9e8b1a0c6cd10c11fe555b1 (diff)
downloadaports-d7536614fdd311855aca0f568bdaee6730770155.tar.bz2
aports-d7536614fdd311855aca0f568bdaee6730770155.tar.xz
testing/9base: new abuild
The port for s390x is as recommended on https://plan9port-review.googlesource.com/1030 Closes !299
Diffstat (limited to 'testing/9base/config.mk.s390x')
-rw-r--r--testing/9base/config.mk.s390x22
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/9base/config.mk.s390x b/testing/9base/config.mk.s390x
new file mode 100644
index 0000000000..3efca66629
--- /dev/null
+++ b/testing/9base/config.mk.s390x
@@ -0,0 +1,22 @@
+# Customize to fit your system
+
+# paths
+PREFIX = /usr/lib/9base
+MANPREFIX = ${PREFIX}/share/man
+
+VERSION = 6
+OBJTYPE = s390x
+
+# Linux/BSD
+#CFLAGS += -Wall -Wno-missing-braces -Wno-parentheses -Wno-switch -c -I. -DPREFIX="\"${PREFIX}\""
+CFLAGS += -c -I. -DPREFIX="\"${PREFIX}\""
+LDFLAGS += -static
+
+# Solaris
+#CFLAGS = -fast -xtarget=ultra -D__sun__ -c -I. -DPREFIX="\"${PREFIX}\""
+#LDFLAGS = -dn
+
+# compiler
+AR = ar rc
+CC = cc
+YACC = ../yacc/9yacc