]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind: Fix Clang compilation under Fedora again
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 28 Feb 2019 17:30:24 +0000 (12:30 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Fri, 15 Mar 2019 18:52:47 +0000 (14:52 -0400)
Because the Fedora Python team treats this as a WONTFIX.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/pybind/cephfs/setup.py
src/pybind/rados/setup.py
src/pybind/rbd/setup.py
src/pybind/rgw/setup.py

index 1f95005537ca5ffff99e9264a22ad7b52932fd42..7fbd2164e0f1837fd73c110f6e328a2004d7f5c0 100755 (executable)
@@ -18,7 +18,8 @@ clang = False
 def filter_unsupported_flags(flags):
     if clang:
         return [f for f in flags if not (f == '-mcet' or
-                                         f.startswith('-fcf-protection'))]
+                                         f.startswith('-fcf-protection') or
+                                         f == '-fstack-clash-protection')]
     else:
         return flags
 
index 75081df70e9b1069c95989470a40fc7e455ad757..c9eaaf41bb26e5bfafb30ef92c2bb93854a4e38d 100755 (executable)
@@ -26,7 +26,8 @@ clang = False
 def filter_unsupported_flags(flags):
     if clang:
         return [f for f in flags if not (f == '-mcet' or
-                                         f.startswith('-fcf-protection'))]
+                                         f.startswith('-fcf-protection') or
+                                         f == '-fstack-clash-protection')]
     else:
         return flags
 
index 8dd5c12a8ece15385e0d0ed079b292a4222a218e..e6b4add49a7445559c45ff84a7ba54dab8b3ae18 100755 (executable)
@@ -18,7 +18,8 @@ clang = False
 def filter_unsupported_flags(flags):
     if clang:
         return [f for f in flags if not (f == '-mcet' or
-                                         f.startswith('-fcf-protection'))]
+                                         f.startswith('-fcf-protection') or
+                                         f == '-fstack-clash-protection')]
     else:
         return flags
 
index 4ee4f491ba51e4ada2dadff6d8d8e574cd539e0c..8ec3a7a701fa694f8d9451fca12107fcd00a6da4 100755 (executable)
@@ -18,7 +18,8 @@ clang = False
 def filter_unsupported_flags(flags):
     if clang:
         return [f for f in flags if not (f == '-mcet' or
-                                         f.startswith('-fcf-protection'))]
+                                         f.startswith('-fcf-protection') or
+                                         f == '-fstack-clash-protection')]
     return flags
 
 def monkey_with_compiler(compiler):