Commits

Aleš Erjavec committed 147a905

Removed '-fpermissive' gcc compiler flag.

Not needed since changeset 2006c70024f2

  • Participants
  • Parent commits 7727b6f

Comments (0)

Files changed (1)

 include_dirs = [python_include_dir, numpy_include_dir, 'source/include']
 
 if sys.platform == 'darwin':
-    extra_compile_args = '-fPIC -fpermissive -fno-common -w -DDARWIN'.split()
+    extra_compile_args = '-fPIC -fno-common -w -DDARWIN'.split()
     extra_link_args = '-headerpad_max_install_names -undefined dynamic_lookup'.split()
 elif sys.platform == 'win32':
     extra_compile_args = ['-EHsc']
     extra_link_args = []
 elif sys.platform.startswith('linux'):
-    extra_compile_args = '-fPIC -fpermissive -w -DLINUX'.split()
+    extra_compile_args = '-fPIC -w -DLINUX'.split()
     extra_link_args = ['-Wl,-R$ORIGIN']
 else:
     extra_compile_args = []