diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cflags.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/scripts/cflags.sh b/scripts/cflags.sh new file mode 100755 index 0000000..bc8e3a8 --- /dev/null +++ b/scripts/cflags.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +Linux_cflags() +{ + echo -D_GNU_SOURCE +} + +FreeBSD_cflags() +{ + echo -D_BSD_SOURCE +} + +$(uname)_cflags + |