Changeset 6057


Ignore:
Timestamp:
Dec 11, 2008, 11:30:18 AM (15 years ago)
Author:
rwilson
Message:

Removed -O3 option for compile of polygon_ext.c. gcc 4.3.2 errors on that file with -O3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/utilities/compile.py

    r5917 r6057  
    256256      if FN == "triangle.c" or FN == "mesh_engine_c_layer.c":
    257257        s = '%s -c %s -I"%s" -I"%s" -o "%s.o" -O3 -DTRILIBRARY=1 -DNO_TIMER=1'\
     258            %(compiler, FN, python_include, utilities_include_dir, root)
     259      elif FN == "polygon_ext.c":
     260        # gcc 4.3.x screws up in this file if '-O3' is used
     261        s = '%s -c %s -I"%s" -I"%s" -o "%s.o" -Wall'\
    258262            %(compiler, FN, python_include, utilities_include_dir, root)
    259263      else:
Note: See TracChangeset for help on using the changeset viewer.