Permalink
Browse files

port platform-unix to use configure.os convention

  • Loading branch information...
1 parent dc42ecb commit 717cd28e0db94041b23d5d5abc793d95e52e65ba @avsm committed Jun 17, 2012
@@ -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
@@ -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

0 comments on commit 717cd28

Please sign in to comment.