summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefiles/Makefile.clang2
-rw-r--r--makefiles/Makefile.gcc2
-rw-r--r--makefiles/Makefile.open642
3 files changed, 3 insertions, 3 deletions
diff --git a/makefiles/Makefile.clang b/makefiles/Makefile.clang
index 2a11a5b..50f8a82 100644
--- a/makefiles/Makefile.clang
+++ b/makefiles/Makefile.clang
@@ -26,7 +26,7 @@ LDSHR = -shared -Wl,-soname,$(SONAME)
ARFLG := cru
# Definitions of various attributes
-CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))"
+CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1
# Extensions for sanitize target
ifeq ($(MAKECMDGOALS),sanitize)
diff --git a/makefiles/Makefile.gcc b/makefiles/Makefile.gcc
index 7d70bc1..b5119ac 100644
--- a/makefiles/Makefile.gcc
+++ b/makefiles/Makefile.gcc
@@ -25,7 +25,7 @@ LDSHR = -shared -Wl,-soname,$(SONAME)
ARFLG := cru
# Definitions for various attributes
-CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))"
+CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1
# Extensions for coverage target
ifeq ($(MAKECMDGOALS),coverage)
diff --git a/makefiles/Makefile.open64 b/makefiles/Makefile.open64
index b58569c..142474a 100644
--- a/makefiles/Makefile.open64
+++ b/makefiles/Makefile.open64
@@ -27,7 +27,7 @@ LDFLAGS := $(LDFLAGS) -ipa
ARFLG := cru
# Definitions for various attributes
-CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))"
+CFLAGS := $(CFLAGS) -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1
# Extensions for coverage target
ifeq ($(MAKECMDGOALS),coverage)