source: freewrt/package/hostapd/patches/001-cross_compile_fix.patch@ 475ad56

freewrt_1_0 freewrt_2_0
Last change on this file since 475ad56 was 475ad56, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

add OpenWrt trunk revision 3830.

git-svn-id: svn://www.freewrt.org/trunk/freewrt@1 afb5a338-a214-0410-bd46-81f09a774fd1

  • Property mode set to 100644
File size: 1.0 KB
  • hostapd-0.5.2

    Common subdirectories: hostapd-0.5.2/logwatch and hostapd-0.5.2.new/logwatch
    diff -u hostapd-0.5.2/Makefile hostapd-0.5.2.new/Makefile
    old new  
    33DIR_HOSTAP=.
    44
    55ifndef CFLAGS
    6 CFLAGS = -MMD -O2 -Wall -g
     6CFLAGS = -MMD $(OPTFLAGS) $(CPPFLAGS)
    77endif
    88
    99# define HOSTAPD_DUMP_STATE to include SIGUSR1 handler for dumping state to
     
    266266        for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
    267267
    268268hostapd: $(OBJS)
    269         $(CC) -o hostapd $(OBJS) $(LIBS)
     269        $(CC) -o hostapd $(OBJS) $(LDFLAGS) $(LIBS)
    270270
    271271driver_conf.c: Makefile .config
    272272        rm -f driver_conf.c
     
    330330endif
    331331
    332332nt_password_hash: $(NOBJS)
    333         $(CC) -o nt_password_hash $(NOBJS) $(LIBS_n)
     333        $(CC) -o nt_password_hash $(NOBJS) $(LDFLAGS) $(LIBS_n)
    334334
    335335hlr_auc_gw: $(HOBJS)
    336         $(CC) -o hlr_auc_gw $(HOBJS) $(LIBS_h)
     336        $(CC) -o hlr_auc_gw $(HOBJS) $(LDFLAGS) $(LIBS_h)
    337337
    338338clean:
    339339        rm -f core *~ *.o hostapd hostapd_cli nt_password_hash hlr_auc_gw
Note: See TracBrowser for help on using the repository browser.