[PATCH] D16506: [cmake/AIX] Enhance cmake files to support compiling with gcc on AIX

James Molloy via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 07:47:57 PST 2016


jmolloy requested changes to this revision.
This revision now requires changes to proceed.

================
Comment at: CMakeLists.txt:592
@@ -592,2 +591,3 @@
+if (UNIX AND NOT APPLE AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS|AIX")
   set(CMAKE_EXE_LINKER_FLAGS
       "${CMAKE_EXE_LINKER_FLAGS} -Wl,-allow-shlib-undefined")
----------------
This doesn't match your description. This should mean that AIX does NOT set -Wl,-allow-shlib-undefined, but you said above you wanted -allow-shlib-undefined to be set.

This makes me suspect that CMake is not interpreting your regex correctly.


http://reviews.llvm.org/D16506





More information about the llvm-commits mailing list