where to find the default cflags in FC4 ?

From: andrew (seawolf_at_scssi.org)
Date: 07/13/05


Date: 13 Jul 2005 14:26:15 -0700

Hello, all

My FC4 install on a Pentium3 defaults to " -mtune=pentium4 " for my
gcc(32) flags (among other unwanted ones)

Does anyone know /where/ the CFLAGS defaults are set on the system?

This misconfiguration is crippling/fatal to compiling.

I have tried setting my own CFLAGS, but some ./configure scripts
combine the $CFLAGS contents with something else, the origin of which i
can't determine.

TIA
andrew



Relevant Pages

  • [PATCH 2/2] uml: fix compilation options for USER_OBJS
    ... Make sure that when compiling USER_OBJS the correct compilation options are ... since they are compiled with USER_CFLAGS which is derived from CFLAGS, ... # kernel_errno to separate them from the libc errno. ...
    (Linux-Kernel)
  • setting CFLAGS in /etc/make.conf
    ... # CFLAGS controls the compiler settings used when compiling C code. ... when a port tries to pass CFLAGS to the distribution ...
    (freebsd-current)
  • Re: FFTW and mcmodel
    ... this option when it compiles all the original .c files of the package. ... the CFLAGS you specify in the ./configure replace the default CFLAGS for ... not really; I'm not familiar with compiling ... when compiling my source code. ...
    (comp.lang.fortran)
  • Re: Inserting variables into a Makefile using Autotools.
    ... I am using autotools for a project that ... CFLAGS set to include '-g -O2', ... We have quite a few compiler flags that need to be set ... It would be nice to add on new flags. ...
    (comp.os.linux.development.apps)
  • Re: Inserting variables into a Makefile using Autotools.
    ... I am using autotools for a project that ... CFLAGS set to include '-g -O2', ... We have quite a few compiler flags that need to be set ... It would be nice to add on new flags. ...
    (comp.os.linux.development.apps)