|
@@ -31,6 +31,11 @@ endif
|
|
# redefining it on the command line causes build problems.
|
|
# redefining it on the command line causes build problems.
|
|
TRACE_CMD_CFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS))
|
|
TRACE_CMD_CFLAGS = $(filter-out -D_LARGEFILE64_SOURCE,$(TARGET_CFLAGS))
|
|
|
|
|
|
|
|
+# Sparc64 needs -fPIC
|
|
|
|
+ifeq ($(BR2_sparc64),y)
|
|
|
|
+TRACE_CMD_CFLAGS += -fPIC
|
|
|
|
+endif
|
|
|
|
+
|
|
# trace-cmd use CPPFLAGS to add some extra flags.
|
|
# trace-cmd use CPPFLAGS to add some extra flags.
|
|
# But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE
|
|
# But like for CFLAGS, $(TARGET_CPPFLAGS) contains _LARGEFILE64_SOURCE
|
|
# that causes build problems.
|
|
# that causes build problems.
|