Changeset 2725 in MondoRescue for branches/2.2.9/mindi-busybox/scripts/Makefile.lib
- Timestamp:
- Feb 25, 2011, 9:26:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.9/mindi-busybox/scripts/Makefile.lib
r1765 r2725 118 118 cpp_flags = -Wp,-MD,$(depfile) $(NOSTDINC_FLAGS) $(__cpp_flags) 119 119 120 ld_flags = $(LDFLAGS) $(EXTRA_LDFLAGS) 120 # Seems to be a wrong thing to do. LDFLAGS contains gcc's flags, 121 # yet ld_flags is fed to ld. 122 #ld_flags = $(LDFLAGS) $(EXTRA_LDFLAGS) 123 # Remove the -Wl, prefix from linker options normally passed through gcc 124 ld_flags = $(filter-out -Wl$(comma)%,$(LDFLAGS) $(EXTRA_LDFLAGS)) 125 121 126 122 127 # Finds the multi-part object the current object will be linked into … … 147 152 # --------------------------------------------------------------------------- 148 153 154 # TODO: LDFLAGS usually is supposed to contain gcc's flags, not ld's. 155 # but here we feed them to ld! 149 156 quiet_cmd_ld = LD $@ 150 157 cmd_ld = $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LDFLAGS_$(@F)) \ … … 162 169 quiet_cmd_gzip = GZIP $@ 163 170 cmd_gzip = gzip -f -9 < $< > $@ 164 165
Note:
See TracChangeset
for help on using the changeset viewer.