Changeset b4e4107 in freewrt


Ignore:
Timestamp:
Mar 20, 2007, 6:09:09 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Children:
7339393
Parents:
317392ca
Message:

I'm fed up with this sh!t, if people are too stupid to write build
systems I'll be too lazy to fix them if it gets on my nerves like
that annoying, e.g. the alsa breakage, let's just have ld(1) parse
-Wl,-foo instead (but not -Wl,-foo,bar which we don't use)

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

Files:
1 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • mk/kpkg.mk

    r317392ca rb4e4107  
    4141                        c_opts="${KERNEL_C_OPTS}" \
    4242                        KERNELVERSION="${KERNEL}"
    43 # this must be done because LD=ld not LD=cc
    44 TLDFLAGS:=              ${TLDFLAGS:-Wl,%=%}
  • package/fuse/patches/101-kmod_build.patch

    r317392ca rb4e4107  
    11--- fuse-2.5.2.orig/kernel/Makefile.in  2006-02-02 17:04:52.000000000 +0000
    22+++ fuse-2.5.2/kernel/Makefile.in       2007-02-14 05:02:02.000000000 +0000
    3 @@ -52,25 +52,13 @@ distdir: $(DISTFILES) $(COMPATDISTFILES)
     3@@ -52,25 +52,11 @@ distdir: $(DISTFILES) $(COMPATDISTFILES)
    44        mkdir $(distdir)/compat
    55        cp -p $(COMPATDISTFILES) $(distdir)/compat
    66 
    7 -ifeq ($(majver), 2.4)
    8 +# if kernel 2.6 uses LD=cc move this to 2.4 which uses LD=ld
    9 +LDFLAGS:=${LDFLAGS:-Wl,%=%}
     7 ifeq ($(majver), 2.4)
    108 
    119-CC = gcc
     
    1311-CFLAGS = -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe @KERNELCFLAGS@
    1412-CPPFLAGS = -I@kernelsrc@/include -I. -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"$(VERSION)\" @KERNELCPPFLAGS@
    15 +ifeq ($(majver), 2.4)
    1613 
    1714 fuse_objs = dev.o dir.o file.o inode.o compat/parser.o
  • package/openswan/Makefile

    r317392ca rb4e4107  
    4141                USERCOMPILE="${FLAGS}" \
    4242                AS="${TARGET_CC} -c ${TCFLAGS}" \
    43                 LDFLAGS='${TLDFLAGS:-Wl,%=%}' \
    4443                module
    4544
Note: See TracChangeset for help on using the changeset viewer.