deal with bounded attribute
This commit is contained in:
parent
abe7bee360
commit
2981557a7f
@ -8,6 +8,14 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
|
|||||||
AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS")
|
AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS")
|
||||||
CFLAGS="$CFLAGS -Wall -Werror -std=c99 -g -Wno-pointer-sign -DHAVE_CRYPTODEV -DLIBRESSL_INTERNAL"
|
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
|
case $target_os in
|
||||||
*darwin*)
|
*darwin*)
|
||||||
TARGET_OS=darwin;
|
TARGET_OS=darwin;
|
||||||
|
Loading…
Reference in New Issue
Block a user