Gitweb links:
...log
http://git.netsurf-browser.org/buildsystem.git/shortlog/3246c9f04267b117b...
...commit
http://git.netsurf-browser.org/buildsystem.git/commit/3246c9f04267b117b4f...
...tree
http://git.netsurf-browser.org/buildsystem.git/tree/3246c9f04267b117b4f46...
The branch, master has been updated
via 3246c9f04267b117b4f464d9eef39b7ef7a70a7f (commit)
from 1bec35860a7140712eed1c26e57285803e61b557 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/buildsystem.git/commit/?id=3246c9f04267b11...
commit 3246c9f04267b117b4f464d9eef39b7ef7a70a7f
Author: Daniel Silverstone <dsilvers(a)digital-scurf.org>
Commit: Daniel Silverstone <dsilvers(a)digital-scurf.org>
Makefiles: Add -DSTMTEXPR=1 for gcc compatible toolchains
Signed-off-by: Daniel Silverstone <dsilvers(a)digital-scurf.org>
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)
-----------------------------------------------------------------------
Summary of changes:
makefiles/Makefile.clang | 2 +-
makefiles/Makefile.gcc | 2 +-
makefiles/Makefile.open64 | 2 +-
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)
--
NetSurf Project build system