42 # On Linux we really dont want a mapfile, as this library is small |
42 # On Linux we really dont want a mapfile, as this library is small |
43 # and preloaded using LD_PRELOAD, making functions private will |
43 # and preloaded using LD_PRELOAD, making functions private will |
44 # cause problems with interposing. See CR: 6466665 |
44 # cause problems with interposing. See CR: 6466665 |
45 # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE)) |
45 # LFLAGS_JSIG += $(MAPFLAG:FILENAME=$(LIBJSIG_MAPFILE)) |
46 |
46 |
47 LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE) $(LDFLAGS_NO_EXEC_STACK) |
47 LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE) $(LDFLAGS_NO_EXEC_STACK) $(EXTRA_LDFLAGS) |
48 |
48 |
49 # DEBUG_BINARIES overrides everything, use full -g debug information |
49 # DEBUG_BINARIES overrides everything, use full -g debug information |
50 ifeq ($(DEBUG_BINARIES), true) |
50 ifeq ($(DEBUG_BINARIES), true) |
51 JSIG_DEBUG_CFLAGS = -g |
51 JSIG_DEBUG_CFLAGS = -g |
52 endif |
52 endif |