Skip to content

Commit

Permalink
add configure.os for cstruct bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
avsm committed Jun 18, 2012
1 parent e08d0cb commit 02e1365
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions repos/cstruct/configure.os
@@ -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.