Permalink
Browse files

add configure.os for cstruct bindings

  • Loading branch information...
1 parent e08d0cb commit 02e136568e975cb26c8741e785364da601954af0 @avsm committed Jun 18, 2012
Showing with 11 additions and 0 deletions.
  1. +11 −0 repos/cstruct/configure.os
View
@@ -0,0 +1,11 @@
+#!/bin/sh
+# Depending on the architecture, symlink in the correct tap_stubs file.
+
+OS=`uname -s`
+
+CFLAGS=${CFLAGS:--Wall -O3}
+case `uname -m` in
+x86_64)
+ CFLAGS="${CFLAGS} -fPIC"
+ ;;
+esac

0 comments on commit 02e1365

Please sign in to comment.