[LLVMbugs] [Bug 14885] New: llvm-config --cxxflags doesn't honor LLVM_ENABLE_ASSERTIONS
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 9 16:37:19 PST 2013
http://llvm.org/bugs/show_bug.cgi?id=14885
Bug #: 14885
Summary: llvm-config --cxxflags doesn't honor
LLVM_ENABLE_ASSERTIONS
Product: Build scripts
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: cmake
AssignedTo: unassignedbugs at nondot.org
ReportedBy: geek4civic at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
With CMAKE_BUILD_TYPE=Release LLVM_ENABLE_ASSERTIONS=ON, llvm-config shows
-DNDEBUG.
$ /path/to/install/bin/llvm-config --cxxflags
-I/path/to/install/include
-fPIC -fvisibility-inlines-hidden
-O3
-DNDEBUG
-D_GNU_SOURCE
-Wall -W -Wno-unused-parameter -Wwrite-strings -pedantic -Wno-long-long
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
FYI, LLVM_ENABLE_ASSERTIONS gives -UNDEBUG in CXXFLAGS.
--
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