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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs