merge 46805 from amd64 branch:
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 3 Jun 2010 14:19:18 +0000 (14:19 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Thu, 3 Jun 2010 14:19:18 +0000 (14:19 +0000)
[RBUILD]
Fix some parameters (starting with --, not with -)

svn path=/trunk/; revision=47538

reactos/tools/rbuild/backend/mingw/linkers/ld.mak

index 88da818..d7fc3b7 100644 (file)
@@ -1,12 +1,12 @@
 # -exclude-all-symbols disables autoexporting all symbols *if none were found* (either in a DEF file or using __declspec(dllexport)
 # -exclude-all-symbols disables autoexporting all symbols *if none were found* (either in a DEF file or using __declspec(dllexport)
-LDFLAG_DLL:=-shared -exclude-all-symbols
-LDFLAG_DRIVER:=-shared --subsystem=native -exclude-all-symbols
-LDFLAG_NOSTDLIB:=-nostartfiles -nostdlib
+LDFLAG_DLL:=--shared --exclude-all-symbols
+LDFLAG_DRIVER:=--shared --subsystem=native --exclude-all-symbols
+LDFLAG_NOSTDLIB:=--nostartfiles --nostdlib
 LDFLAG_CONSOLE:=--subsystem=console
 LDFLAG_WINDOWS:=--subsystem=windows
 LDFLAG_NATIVE:=--subsystem=native
 
 LDFLAG_CONSOLE:=--subsystem=console
 LDFLAG_WINDOWS:=--subsystem=windows
 LDFLAG_NATIVE:=--subsystem=native
 
-LDFLAG_EXCLUDE_ALL_SYMBOLS=-exclude-all-symbols
+LDFLAG_EXCLUDE_ALL_SYMBOLS=--exclude-all-symbols
 DLLTOOL_FLAGS=--kill-at
 ifeq ($(ARCH),amd64)
     DLLTOOL_FLAGS= --no-leading-underscore
 DLLTOOL_FLAGS=--kill-at
 ifeq ($(ARCH),amd64)
     DLLTOOL_FLAGS= --no-leading-underscore
@@ -87,4 +87,4 @@ endef
 #~ #(module, def, deps, ldflags, libs, entry, base)
 #~ RBUILD_LINK_RULE=${call RBUILD_LINK,$(1),$(value $(1)_OBJS),$(3),$(4),$(value $(1)_TARGET),$(2),$(5) $(value $(1)_LIBS) $(5),$(6),$(7)}
 #(module, def, deps, ldflags, libs, entry, base, extralibs)
 #~ #(module, def, deps, ldflags, libs, entry, base)
 #~ RBUILD_LINK_RULE=${call RBUILD_LINK,$(1),$(value $(1)_OBJS),$(3),$(4),$(value $(1)_TARGET),$(2),$(5) $(value $(1)_LIBS) $(5),$(6),$(7)}
 #(module, def, deps, ldflags, libs, entry, base, extralibs)
-RBUILD_LINK_RULE=${call RBUILD_LINK,$(1),$(value $(1)_OBJS),$(3),$(4),$(value $(1)_TARGET),$(2),$(value $(1)_LIBS),$(6),$(7),$(5)}
\ No newline at end of file
+RBUILD_LINK_RULE=${call RBUILD_LINK,$(1),$(value $(1)_OBJS),$(3),$(4),$(value $(1)_TARGET),$(2),$(value $(1)_LIBS),$(6),$(7),$(5)}