equal
deleted
inserted
replaced
90 message(FATAL_ERROR "No Pascal compiler found!") |
90 message(FATAL_ERROR "No Pascal compiler found!") |
91 endif (NOT pascal_compiler) |
91 endif (NOT pascal_compiler) |
92 |
92 |
93 |
93 |
94 #PASCAL FLAG SECTION |
94 #PASCAL FLAG SECTION |
95 set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Fl../bin/" "-Cs2000000" "-vwi" "-fPIC" ${hwengine_project}) |
95 set(pascal_compiler_flags ${noexecstack_flags} "-B" "-FE../bin" "-Fl../bin/" "-Cs2000000" "-vwi" ${hwengine_project}) |
96 |
96 |
97 if(OPTIMIZATIONS) |
97 if(OPTIMIZATIONS) |
98 set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${pascal_compiler_flags}) |
98 set(pascal_compiler_flags "-O2" "-Xs" "-Nu" ${pascal_compiler_flags}) |
99 if(APPLE AND NOT universal_build) |
99 if(APPLE AND NOT universal_build) |
100 set(pascal_compiler_flags "-CfSSE2" ${pascal_compiler_flags}) #instruction set for ppc is 7400 |
100 set(pascal_compiler_flags "-fPIC" "-CfSSE2" ${pascal_compiler_flags}) #instruction set for ppc is 7400 |
101 endif() |
101 endif() |
102 else(OPTIMIZATIONS) |
102 else(OPTIMIZATIONS) |
103 set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-va" ${pascal_compiler_flags}) |
103 set(pascal_compiler_flags "-O-" "-gl" "-dDEBUGFILE" "-pg" "-va" ${pascal_compiler_flags}) |
104 endif(OPTIMIZATIONS) |
104 endif(OPTIMIZATIONS) |
105 |
105 |