aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-08-16 14:16:01 -0500
committerBrent Cook <bcook@openbsd.org>2014-08-16 14:16:01 -0500
commit2cef68f3ed82c2c036d1909042dcd23c14ec82e3 (patch)
treede491c6f016e92c9b64b81c53dabcdfa30acdf91
parent2d719eb3d7c6b97eceb1dd64640165ad8fc2e1b7 (diff)
downloadportable-2cef68f3ed82c2c036d1909042dcd23c14ec82e3.tar.gz
portable-2cef68f3ed82c2c036d1909042dcd23c14ec82e3.tar.bz2
portable-2cef68f3ed82c2c036d1909042dcd23c14ec82e3.zip
allow inline asm
use default of -std=gnu99 for it to be recognized
Diffstat (limited to '')
-rw-r--r--Makefile.am.common1
-rw-r--r--configure.ac2
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am.common b/Makefile.am.common
index 9586e15..80949ce 100644
--- a/Makefile.am.common
+++ b/Makefile.am.common
@@ -1,4 +1,3 @@
1AM_CPPFLAGS = -I$(top_srcdir)/include 1AM_CPPFLAGS = -I$(top_srcdir)/include
2AM_CPPFLAGS += -DOPENSSL_NO_ASM
3AM_CPPFLAGS += -DHAVE_CRYPTODEV 2AM_CPPFLAGS += -DHAVE_CRYPTODEV
4AM_CPPFLAGS += -DLIBRESSL_INTERNAL 3AM_CPPFLAGS += -DLIBRESSL_INTERNAL
diff --git a/configure.ac b/configure.ac
index 07d5e76..7b63cdc 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,7 +6,7 @@ AC_CONFIG_MACRO_DIR([m4])
6m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) 6m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
7 7
8AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS") 8AC_SUBST([USER_CFLAGS], "-O2 $CFLAGS")
9CFLAGS="$CFLAGS -Wall -std=c99 -g" 9CFLAGS="$CFLAGS -Wall -std=gnu99 -g"
10 10
11case $host_os in 11case $host_os in
12 *darwin*) 12 *darwin*)