diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/build/smb_build/makefile.pm | 6 | ||||
-rw-r--r-- | source4/main.mk | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm index a69b013174..08c237c4da 100644 --- a/source4/build/smb_build/makefile.pm +++ b/source4/build/smb_build/makefile.pm @@ -190,8 +190,8 @@ PICFLAG=$self->{config}->{PICFLAG} INSTALL_LINK_FLAGS=$extra_link_flags -LD=$self->{config}->{LD} -LDFLAGS=$self->{config}->{LDFLAGS} -L$libdir +BNLD=$self->{config}->{LD} +BNLD_FLAGS=$self->{config}->{LDFLAGS} -L$libdir STLD=$self->{config}->{STLD} STLD_FLAGS=$self->{config}->{STLD_FLAGS} @@ -511,7 +511,7 @@ __EOD__ ); } else { $self->output(<< "__EOD__" - \@\$(LD) \$(LDFLAGS) -o \$\@ \$(INSTALL_LINK_FLAGS) \\ + \@\$(BNLD) \$(BNLD_FLAGS) -o \$\@ \$(INSTALL_LINK_FLAGS) \\ \$\($ctx->{TYPE}_$ctx->{NAME}_LINK_FLAGS) __EOD__ diff --git a/source4/main.mk b/source4/main.mk index 6a98160ac1..a4c9764eb5 100644 --- a/source4/main.mk +++ b/source4/main.mk @@ -77,8 +77,8 @@ showflags: @echo ' CC = $(CC)' @echo ' CFLAGS = $(CFLAGS)' @echo ' PICFLAG = $(PICFLAG)' - @echo ' LD = $(LD)' - @echo ' LDFLAGS = $(LDFLAGS)' + @echo ' BNLD = $(BNLD)' + @echo ' BNLD_FLAGS = $(BNLD_FLAGS)' @echo ' STLD = $(STLD)' @echo ' STLD_FLAGS = $(STLD_FLAGS)' @echo ' SHLD = $(SHLD)' |