scripts/crosstool.sh
changeset 531 77df8ff1f383
parent 523 010f6f4e4dd6
child 564 30fbb26a83b4
     1.1 --- a/scripts/crosstool.sh	Tue May 20 21:32:39 2008 +0000
     1.2 +++ b/scripts/crosstool.sh	Sat May 24 22:38:07 2008 +0000
     1.3 @@ -72,8 +72,10 @@
     1.4  . "${CT_TOP_DIR}/.config"
     1.5  
     1.6  # Second kludge: merge user-supplied target CFLAGS with architecture-provided
     1.7 -# target CFLAGS
     1.8 +# target CFLAGS. Do the same for LDFLAGS in case it happens in the future.
     1.9 +# Put user-supplied flags at the end, so that they take precedence.
    1.10  CT_TARGET_CFLAGS="${CT_ARCH_TARGET_CFLAGS} ${CT_TARGET_CFLAGS}"
    1.11 +CT_TARGET_LDFLAGS="${CT_ARCH_TARGET_LDFLAGS} ${CT_TARGET_LDFLAGS}"
    1.12  
    1.13  # Now, build up the variables from the user-configured options.
    1.14  CT_KERNEL_FILE="${CT_KERNEL}-${CT_KERNEL_VERSION}"