Opened 9 years ago

Closed 9 years ago

#3 closed defect (fixed)

Configuration/Build: advertised override of compile flags using --with-cflags / --with-cxxflags does not work

Reported by: utke Owned by: awalther
Priority: minor Component: libadolc
Version: Keywords:


when configure e.g. with -O0 then the compile command still contains (later in the command)-O2 which configure -h shows as the default:

--with-cflags=FLAGS use CFLAGS=FLAGS (default: -O2) --with-cxxflags=FLAGS use CXXFLAGS=FLAGS (default: -O2)

e.g. compile string:

gcc -DHAVE_CONFIG_H -I. -I. -I. -I../.. -I../.. -g -O0 -pedantic -ansi -Wall -DADOLC_INTERNAL=1 -g -O2 -MT hos_forward.lo -MD -MP -MF .deps/hos_forward.Tpo -c hos_forward.c -fPIC -DPIC -o .libs/hos_forward.o

Change History (3)

comment:1 Changed 9 years ago by awalther

  • Owner somebody deleted

I will check this asap

comment:2 Changed 9 years ago by awalther

  • Owner set to awalther
  • Status changed from new to assigned

fixed by change of configure file

comment:3 Changed 9 years ago by awalther

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.