Append -mabi=lp64f in compile flags

Fix compile error
fix/double
Rui Huang 2019-03-15 11:40:08 +08:00 committed by GitHub
parent 7f9c6d2e4c
commit 729878522f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ add_compile_flags(LD
# C Flags Settings
add_compile_flags(BOTH
-mcmodel=medany
-march=rv64imafc
-mabi=lp64f
-march=rv64imafc
-fno-common
-ffunction-sections
-fdata-sections