mirror of
https://github.com/GreycLab/CImg.git
synced 2026-06-03 00:08:51 +08:00
delete -mtune option on loongarch architecture
This commit is contained in:
@@ -153,7 +153,11 @@ VT100_CFLAGS = -Dcimg_use_vt100
|
||||
# Flags to enable code optimization by the compiler.
|
||||
OPT_CFLAGS = -Ofast
|
||||
ifdef IS_GCC
|
||||
#if !defined(__loongarch__)
|
||||
OPT_CFLAGS = -Ofast -mtune=generic
|
||||
#else
|
||||
OPT_CFLAGS = -Ofast
|
||||
#endif
|
||||
endif
|
||||
ifdef IS_ICPC
|
||||
OPT_CFLAGS = -fast
|
||||
|
||||
Reference in New Issue
Block a user