1 # |
1 # |
2 # Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 # Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # |
4 # |
5 # This code is free software; you can redistribute it and/or modify it |
5 # This code is free software; you can redistribute it and/or modify it |
6 # under the terms of the GNU General Public License version 2 only, as |
6 # under the terms of the GNU General Public License version 2 only, as |
7 # published by the Free Software Foundation. |
7 # published by the Free Software Foundation. |
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) |
47 LFLAGS_JSIG += -D_GNU_SOURCE -D_REENTRANT $(LDFLAGS_HASH_STYLE) $(LDFLAGS_NO_EXEC_STACK) |
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 |