]> granicus.if.org Git - graphviz/commitdiff
Initial workaround for clang/lld/osx
authorBob Apthorpe <bob.apthorpe@gmail.com>
Fri, 10 Jul 2020 19:05:42 +0000 (19:05 +0000)
committerBob Apthorpe <bob.apthorpe@gmail.com>
Tue, 14 Jul 2020 03:27:27 +0000 (03:27 +0000)
(cherry picked from commit 992e6c2693c16c2a056efe849c612d0e1ee6d85e)

(cherry picked from commit 1b628544f02f65cc1e54fb9522f0f6ee2542cbc7)

lib/common/CMakeLists.txt

index 14b67ca2a4433df9e32689f215812f27f665057d..0dd335f767850400d06d9631bbce1e6a575c3300 100644 (file)
@@ -137,6 +137,11 @@ add_library(common STATIC
     ${BISON_HTMLparse_OUTPUTS}
 )
 
+# From https://gitlab.com/graphviz/graphviz/-/issues/1613 @mdwies 20093010
+if(APPLE)
+    target_compile_options(common PRIVATE "-fno-common")
+endif(APPLE)
+
 # Specify headers to be installed
 install(
     FILES