diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2014-07-10 14:11:44 -0600 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2014-07-10 14:11:44 -0600 |
commit | 2981557a7fb8c8019d725df499a79c5cd9bc92ed (patch) | |
tree | 07e9b1c9798a86a05d5b538ee2d24090bfb431ed | |
parent | abe7bee3601b8c6ec91954f1bef23aa6c908cec6 (diff) | |
download | portable-2981557a7fb8c8019d725df499a79c5cd9bc92ed.tar.gz portable-2981557a7fb8c8019d725df499a79c5cd9bc92ed.tar.bz2 portable-2981557a7fb8c8019d725df499a79c5cd9bc92ed.zip |
deal with bounded attribute
Diffstat (limited to '')
-rw-r--r-- | configure.ac | 8 |
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") | |||
9 | CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" | 9 | CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" |
10 | 10 | ||
11 | case $target_os in | 11 | case $target_os in |
12 | *openbsd*) | ||
13 | ;; | ||
14 | *) | ||
15 | CFLAGS=$CFLAGS -D__bounded__(x,y,z) | ||
16 | ;; | ||
17 | esac | ||
18 | |||
19 | case $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" |