Changeset 8ec9389 in freewrt for Makefile


Ignore:
Timestamp:
Jun 12, 2006, 1:18:55 AM (20 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
a6198ce
Parents:
a2011ad
Message:

provide sensible defaults (-O2) for systems with no default CFLAGS
tested on lunox

note: this also, as a not unwelcome side effect, changes the
default flags used for builds from "-g -O2" to "-O2" on the
standard GNU installation (and "-O2 -pipe" on OpenBSD, I
think). More flags (e.g. debugging) can and will be added
later.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    ra2011ad r8ec9389  
    3737                    'f:\n\techo P:$${CFLAGS}\n.include <bsd.prog.mk>' | \
    3838                    ${MAKE} -f - f EXPERIMENTAL=yes 2>/dev/null | grep '^P:' \
    39                     2>/dev/null | sed 's/^P://'); echo $${x:-${CFLAGS}})"
     39                    2>/dev/null | sed 's/^P://'); echo $${x:--O2 ${CFLAGS}})"
    4040
    4141all: prereq
Note: See TracChangeset for help on using the changeset viewer.