Use LDOPTS instead of LDFLAGS to avoid an ld warning on Linux 2.4
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 11 Jan 2010 14:52:01 +0000 (14:52 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 11 Jan 2010 14:52:01 +0000 (14:52 +0000)
The warning is
ld: warning: cannot find entry symbol stext; defaulting to 0000000000000000

LDFLAGS may have been a better choice when HAL was binary, but now
LDOPTS is the right thing for consistency with the makefiles in other
directories.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4104 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath_hal/Makefile

index 68f49ed94c1ee2192e534282720f7daf83ce8734..8579f409883219c97f4817a7fe1709de47034685 100644 (file)
@@ -155,5 +155,5 @@ clean:
        rm -rf .tmp_versions
 
 ath_hal.o: $(addprefix $(obj)/,$(ath_hal-objs))
-       $(LD) $(LDFLAGS) -o ath_hal.$(KMODSUF) -r $(ath_hal-objs)
+       $(LD) $(LDOPTS) -o ath_hal.$(KMODSUF) -r $(ath_hal-objs)