summaryrefslogtreecommitdiffstats
path: root/odbc-drivers/picoodbc/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'odbc-drivers/picoodbc/BUILD')
-rwxr-xr-xodbc-drivers/picoodbc/BUILD9
1 files changed, 9 insertions, 0 deletions
diff --git a/odbc-drivers/picoodbc/BUILD b/odbc-drivers/picoodbc/BUILD
new file mode 100755
index 0000000000..cd41035dba
--- /dev/null
+++ b/odbc-drivers/picoodbc/BUILD
@@ -0,0 +1,9 @@
+# insert CFLAGS into all subdir makefiles
+# and remove references to /usr/local
+ local L &&
+ for L in `ls -d *` ; do
+ if [[ -f $L/Makefile ]] ; then
+ sedit "s/CFLAGS=/CFLAGS+=/;s#/local##" $L/Makefile;
+ fi
+ done
+ make