Opened 17 years ago

Closed 16 years ago

#3820 closed defect (invalid)

$CFLAGS and $CXXFLAGS handled incorrectly

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description

On setting: CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" and running ./configure make

I see the compiler options set "ccache gcc -c -pipe -march=pentiumpro -w -O3 -march=athlon-xp -O2 -pipe...."

Without the above environment variable set, the line only contains "...c -pipe -march=pentiumpro -w -O3..."

The configure script should correctly detect the fact that CFLAGS and CXXFLAGS are used, and either obey them without barfing in extra, contradictory flags, or override them, WHILE NOTIFIYING THE USER! No error whatsoever was thrown by configure to indicate to me, the user, that something was set up incorrectly.

Without the environment variables, running "./configure -arch=athlon-xp", everything worked as expected.

Change History (1)

comment:1 Changed 16 years ago by danielk

Resolution: invalid
Status: newclosed

feature request without patch

Note: See TracTickets for help on using tickets.