Commits

bi...@4525493e-7705-40b1-a816-d608a930855b  committed d6ae2fc

remove -Werror from the default list of compile-options as many 3rd-party packages wont compile with it (a damn shame)

  • Participants
  • Parent commits fdb605a

Comments (0)

Files changed (2)

+2012-01-26  Sebastien Binet  <binet@voatlas51.cern.ch>
+
+	* tagging PyCmt-00-00-25
+	* remove -Werror from the default list of compile-options as many 
+	  3rd-party packages wont compile with it (a shame)
+	* M python/pkgbuild/__init__.py
+
 2011-09-13  Sebastien Binet  <sebastien.binet@cern.ch>
 
 	* tagging PyCmt-00-00-24

File python/pkgbuild/__init__.py

     cfg_env['CXXFLAGS'] = cfg_env['CXXFLAGS']\
                         .replace("-shared ", " ")
 
+    # hack: remove -Werror as many 3rd-party packages won't compile with it
+    cfg_env['CFLAGS'] = cfg_env['CFLAGS']\
+                        .replace(" -Werror ", " ")
+
+    cfg_env['CXXFLAGS'] = cfg_env['CXXFLAGS']\
+                        .replace(" -Werror ", " ")
+    
     # many C modules are buggy otherwise...
     cfg_env['CFLAGS']  += " -fno-strict-aliasing"
     cfg_env['FCFLAGS'] += " -fno-strict-aliasing"