Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

port platform-unix to use configure.os convention

  • Loading branch information...
commit 717cd28e0db94041b23d5d5abc793d95e52e65ba 1 parent dc42ecb
@avsm authored
View
7 repos/platform-unix/Makefile
@@ -1,12 +1,9 @@
.PHONY: all clean depend install
-all: depend
- ./cmd configure
+all:
+ ./cmd configure unix
./cmd build
-depend:
- @./configure.arch
-
install:
./cmd install
View
1  repos/platform-unix/configure
View
7 repos/platform-unix/configure.arch → repos/platform-unix/configure.os
@@ -3,6 +3,13 @@
OS=`uname -s`
+CFLAGS=${CFLAGS:--Wall -O3}
+case `uname -m` in
+x86_64)
+ CFLAGS="${CFLAGS} -fPIC"
+ ;;
+esac
+
case "$OS" in
Darwin)
ln -nsf tap_stubs_macosx.c runtime/tap_stubs_os.c
Please sign in to comment.
Something went wrong with that request. Please try again.