Skip to content

Commit

Permalink
Bug 510435: Removed unused make variable DSO_LDFLAGS. r=christophe.ra…
Browse files Browse the repository at this point in the history
…vel.

Modified Files:
	BSD_OS.mk BeOS.mk HP-UX.mk Linux.mk NetBSD.mk OpenBSD.mk
	OpenUNIX.mk QNX.mk RISCOS.mk SCO_SV3.2.mk
  • Loading branch information
wtc%google.com committed Sep 3, 2009
1 parent 36390b8 commit b4bd775
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 13 deletions.
4 changes: 1 addition & 3 deletions security/coreconf/BSD_OS.mk
Expand Up @@ -71,9 +71,7 @@ OS_CFLAGS = $(DSO_CFLAGS) $(OS_REL_CFLAGS) -Wall -Wno-switch -DBSD_OS -DBSDI -D
ARCH = bsdos

DSO_CFLAGS = -fPIC -DPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =
DSO_LDOPTS += -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
DSO_LDOPTS = -shared -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)

ifdef LIBRUNPATH
DSO_LDOPTS += -Wl,-R$(LIBRUNPATH)
Expand Down
2 changes: 0 additions & 2 deletions security/coreconf/BeOS.mk
Expand Up @@ -77,5 +77,3 @@ ARCH = beos

DSO_CFLAGS = -fPIC
DSO_LDOPTS =
DSO_LDFLAGS =

1 change: 0 additions & 1 deletion security/coreconf/HP-UX.mk
Expand Up @@ -91,7 +91,6 @@ ifndef USE_64
RPATH =
endif
endif
DSO_LDFLAGS =

# +Z generates position independent code for use in shared libraries.
DSO_CFLAGS = +Z
1 change: 0 additions & 1 deletion security/coreconf/Linux.mk
Expand Up @@ -150,7 +150,6 @@ DSO_LDOPTS = -shared $(ARCHFLAG)
# we don't use -z defs there.
ZDEFS_FLAG = -Wl,-z,defs
DSO_LDOPTS += $(if $(findstring 2.11.90.0.8,$(shell ld -v)),,$(ZDEFS_FLAG))
DSO_LDFLAGS =
LDFLAGS += $(ARCHFLAG)

# INCLUDES += -I/usr/include -Y/usr/include/linux
Expand Down
1 change: 0 additions & 1 deletion security/coreconf/NetBSD.mk
Expand Up @@ -66,7 +66,6 @@ ARCH = netbsd

DSO_CFLAGS = -fPIC -DPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =
ifeq ($(OBJECT_FMT),ELF)
DSO_LDOPTS += -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
endif
Expand Down
1 change: 0 additions & 1 deletion security/coreconf/OpenBSD.mk
Expand Up @@ -66,7 +66,6 @@ ARCH = openbsd

DSO_CFLAGS = -fPIC -DPIC
DSO_LDOPTS = -shared -fPIC -Wl,-soname,lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
DSO_LDFLAGS =

MKSHLIB = $(CC) $(DSO_LDOPTS)

Expand Down
1 change: 0 additions & 1 deletion security/coreconf/OpenUNIX.mk
Expand Up @@ -87,7 +87,6 @@ PROCESS_MAP_FILE = cp $< $@
BUILD_UNIX_PLUGINS = 1
#DSO_LDOPTS += -b elf -G -z defs
DSO_LDOPTS += -G
DSO_LDFLAGS += -nostdlib -L/lib -L/usr/lib -lXm -lXt -lX11 -lgen

# Used for Java compiler
EXPORT_FLAGS += -W l,-Bexport
1 change: 0 additions & 1 deletion security/coreconf/QNX.mk
Expand Up @@ -69,4 +69,3 @@ ARCH = QNX

DSO_CFLAGS = -Wc,-fPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =
1 change: 0 additions & 1 deletion security/coreconf/RISCOS.mk
Expand Up @@ -49,7 +49,6 @@ OS_TARGET = RISCOS

DSO_CFLAGS = -fPIC
DSO_LDOPTS = -shared
DSO_LDFLAGS =

ifdef BUILD_OPT
OPTIMIZER = -O3
Expand Down
1 change: 0 additions & 1 deletion security/coreconf/SCO_SV3.2.mk
Expand Up @@ -87,7 +87,6 @@ PROCESS_MAP_FILE = cp $< $@
BUILD_UNIX_PLUGINS = 1
#DSO_LDOPTS += -b elf -G -z defs
DSO_LDOPTS += -b elf -G
DSO_LDFLAGS += -nostdlib -L/lib -L/usr/lib -lXm -lXt -lX11 -lgen

# Used for Java compiler
EXPORT_FLAGS += -W l,-Bexport

0 comments on commit b4bd775

Please sign in to comment.