1068
1069 CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
1070
1071 # This is necessary to avoid problems with calling _ex_unwind().
1072 # We probably don't want any inlining anyway.
1073 XINLINE = -xinline=
1074 CFLAGS += $(XINLINE)
1075
1076 CERRWARN += -_gcc=-Wno-parentheses
1077 CERRWARN += -_gcc=-Wno-switch
1078 CERRWARN += -_gcc=-Wno-uninitialized
1079 CERRWARN += -_gcc=-Wno-unused-value
1080 CERRWARN += -_gcc=-Wno-unused-label
1081 CERRWARN += -_gcc=-Wno-unused-variable
1082 CERRWARN += -_gcc=-Wno-type-limits
1083 CERRWARN += -_gcc=-Wno-char-subscripts
1084 CERRWARN += -_gcc=-Wno-clobbered
1085 CERRWARN += -_gcc=-Wno-unused-function
1086 CERRWARN += -_gcc=-Wno-address
1087
1088 # not linted
1089 SMATCH=off
1090
1091 # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1092 # enables ASSERT() checking in the threads portion of the library.
1093 # This is automatically enabled for DEBUG builds, not for non-debug builds.
1094 THREAD_DEBUG =
1095 $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1096
1097 # Make string literals read-only to save memory.
1098 CFLAGS += $(XSTRCONST)
1099
1100 ALTPICS= $(TRACEOBJS:%=pics/%)
1101
1102 $(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) \
1103 $(EXTPICS) $(LDLIBS)
1104
1105 MAPFILES = $(LIBCDIR)/port/mapfile-vers
1106
1107 #
|
1068
1069 CFLAGS += $(CCVERBOSE) $(CTF_FLAGS)
1070
1071 # This is necessary to avoid problems with calling _ex_unwind().
1072 # We probably don't want any inlining anyway.
1073 XINLINE = -xinline=
1074 CFLAGS += $(XINLINE)
1075
1076 CERRWARN += -_gcc=-Wno-parentheses
1077 CERRWARN += -_gcc=-Wno-switch
1078 CERRWARN += -_gcc=-Wno-uninitialized
1079 CERRWARN += -_gcc=-Wno-unused-value
1080 CERRWARN += -_gcc=-Wno-unused-label
1081 CERRWARN += -_gcc=-Wno-unused-variable
1082 CERRWARN += -_gcc=-Wno-type-limits
1083 CERRWARN += -_gcc=-Wno-char-subscripts
1084 CERRWARN += -_gcc=-Wno-clobbered
1085 CERRWARN += -_gcc=-Wno-unused-function
1086 CERRWARN += -_gcc=-Wno-address
1087
1088 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
1089
1090 # not linted
1091 SMATCH=off
1092
1093 # Setting THREAD_DEBUG = -DTHREAD_DEBUG (make THREAD_DEBUG=-DTHREAD_DEBUG ...)
1094 # enables ASSERT() checking in the threads portion of the library.
1095 # This is automatically enabled for DEBUG builds, not for non-debug builds.
1096 THREAD_DEBUG =
1097 $(NOT_RELEASE_BUILD)THREAD_DEBUG = -DTHREAD_DEBUG
1098
1099 # Make string literals read-only to save memory.
1100 CFLAGS += $(XSTRCONST)
1101
1102 ALTPICS= $(TRACEOBJS:%=pics/%)
1103
1104 $(DYNLIB) := BUILD.SO = $(LD) -o $@ -G $(DYNFLAGS) $(PICS) $(ALTPICS) \
1105 $(EXTPICS) $(LDLIBS)
1106
1107 MAPFILES = $(LIBCDIR)/port/mapfile-vers
1108
1109 #
|