]> git.proxmox.com Git - mirror_iproute2.git/commit
genl Makefile LDFLAGS
authorStephen Hemminger <shemminger@osdl.org>
Thu, 19 Oct 2006 20:13:20 +0000 (13:13 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Thu, 19 Oct 2006 20:13:20 +0000 (13:13 -0700)
commita18fa24a7b0c2bca58c00a6d6e24e7fa300a5ea7
treec0c428300be55d67b57afee566e93f486d2653cc
parentfa56513034c839e444ab7ca986ddb178dece86c7
genl Makefile LDFLAGS

The current genl Makefile sticks -lm and -ldl into LDFLAGS ... however, this
does not create the proper link order as the implicit Makefile rules will
place LDFLAGS before object files

attached patch uses LDLIBS for -lm and -ldl and make's implicit rule will
place them in the proper location

also, i removed the -s argument to `install` as install does stripping
improperly in many scenarios (such as cross-compiling) ... and in general,
it's nice if the decision to strip is handled by the sysadmin
-mike
genl/Makefile