Skip to content

Commit 5d7b374

Browse files
authored
Merge pull request #108 from ilfreddy/raspberry
Remove the -m64 flag; closes #107
2 parents 023ca3a + d97fa45 commit 5d7b374

File tree

3 files changed

+0
-7
lines changed

3 files changed

+0
-7
lines changed

cmake/custom/compilers/CFlags.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ set(CMAKE_C_EXTENSIONS FALSE)
1111
if(CMAKE_C_COMPILER_ID MATCHES GNU)
1212
list(APPEND XCFun_C_FLAGS
1313
"-ffloat-store"
14-
"-m64"
1514
)
1615
list(APPEND XCFun_C_FLAGS_DEBUG
1716
"-Wall"
@@ -37,9 +36,6 @@ if(CMAKE_C_COMPILER_ID MATCHES GNU)
3736
endif()
3837

3938
if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
40-
list(APPEND XCFun_C_FLAGS
41-
"-m64"
42-
)
4339
list(APPEND XCFun_C_FLAGS_DEBUG
4440
"-Wall"
4541
"-O0"

cmake/custom/compilers/CXXFlags.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES GNU)
1313
"-ffloat-store"
1414
"-fno-rtti"
1515
"-fno-exceptions"
16-
"-m64"
1716
)
1817
list(APPEND XCFun_CXX_FLAGS_DEBUG
1918
"-Wall"
@@ -44,7 +43,6 @@ if(CMAKE_CXX_COMPILER_ID MATCHES Clang)
4443
list(APPEND XCFun_CXX_FLAGS
4544
"-fno-rtti"
4645
"-fno-exceptions"
47-
"-m64"
4846
)
4947
list(APPEND XCFun_CXX_FLAGS_DEBUG
5048
"-Wall"

cmake/custom/compilers/FortranFlags.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ if(CMAKE_Fortran_COMPILER_ID MATCHES GNU)
77
list(APPEND XCFun_Fortran_FLAGS
88
"-ffloat-store"
99
"-fcray-pointer"
10-
"-m64"
1110
"-fimplicit-none"
1211
"-fautomatic"
1312
"-fmax-errors=5"

0 commit comments

Comments
 (0)