Anonymous avatar Anonymous committed d6ae2fc

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

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

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"
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.