[LLVMbugs] [Bug 14764] New: cflags not honored on solaris

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Dec 31 12:45:09 PST 2012


             Bug #: 14764
           Summary: cflags not honored on solaris
           Product: Build scripts
           Version: 3.2
          Platform: PC
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: gibheer at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


compiling llvm on omnios works fine, until I want to build it for 64bit. Then
all settings in the configure script get ignored.

steps to reproduce:
* CFLAGS="-m64" CXXFLAGS="-m64" ./configure
* gmake VERBOSE=1

The resulting object files are all 32bit, instead of 64bit.

But with the following, it works
* CFLAGS="-m64" CXXFLAGS="-m64" ./configure
* CFLAGS="-m64" CXXFLAGS="-m64" gmake VERBOSE=1

All generated object files are now 64bit.

What is the cause of that and how can I solve that?

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list