From 2981557a7fb8c8019d725df499a79c5cd9bc92ed Mon Sep 17 00:00:00 2001 From: Bob Beck Date: Thu, 10 Jul 2014 14:11:44 -0600 Subject: [PATCH] deal with bounded attribute --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 898b6ed..ce273dd 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,14 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS") CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL" +case $target_os in + *openbsd*) + ;; + *) + CFLAGS=$CFLAGS -D__bounded__(x,y,z) + ;; +esac + case $target_os in *darwin*) TARGET_OS=darwin;