aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-07-10 14:11:44 -0600
committerBob Beck <beck@cvs.openbsd.org>2014-07-10 14:11:44 -0600
commit2981557a7fb8c8019d725df499a79c5cd9bc92ed (patch)
tree07e9b1c9798a86a05d5b538ee2d24090bfb431ed
parentabe7bee3601b8c6ec91954f1bef23aa6c908cec6 (diff)
downloadportable-2981557a7fb8c8019d725df499a79c5cd9bc92ed.tar.gz
portable-2981557a7fb8c8019d725df499a79c5cd9bc92ed.tar.bz2
portable-2981557a7fb8c8019d725df499a79c5cd9bc92ed.zip
deal with bounded attribute
Diffstat (limited to '')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 898b6ed..ce273dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,6 +9,14 @@ AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS")
9CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" 9CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL"
10 10
11case $target_os in 11case $target_os in
12 *openbsd*)
13 ;;
14 *)
15 CFLAGS=$CFLAGS -D__bounded__(x,y,z)
16 ;;
17esac
18
19case $target_os in
12 *darwin*) 20 *darwin*)
13 TARGET_OS=darwin; 21 TARGET_OS=darwin;
14 LDFLAGS="$LDFLAGS -Qunused-arguments" 22 LDFLAGS="$LDFLAGS -Qunused-arguments"