Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1e697be authored by Ian Rogers's avatar Ian Rogers Committed by Gerrit Code Review
Browse files

Merge "Revert "Define __STDC_LIMIT_MACROS globally to work around host build differences.""

parents 4783dc7a c61a9425
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ endif # BUILD_HOST_static

# Workaround differences in inttypes.h between host and target.
# See bug 12708004.
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS

build_mac_version := $(shell sw_vers -productVersion)

+1 −1
Original line number Diff line number Diff line
@@ -60,6 +60,6 @@ HOST_GLOBAL_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0

# Workaround differences in inttypes.h between host and target.
# See bug 12708004.
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS

HOST_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined
+1 −1
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ endif # Linux

# Workaround differences in inttypes.h between host and target.
# See bug 12708004.
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
HOST_GLOBAL_CFLAGS += -D__STDC_FORMAT_MACROS

HOST_CC := $(TOOLS_PREFIX)gcc$(TOOLS_EXE_SUFFIX)
HOST_CXX := $(TOOLS_PREFIX)g++$(TOOLS_EXE_SUFFIX)