-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace -Wno-error with -fno-builtin-lround
- Loading branch information
H.J. Lu
committed
Dec 19, 2014
1 parent
a4a43a9
commit afd176d
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
ifeq ($(subdir),math) | ||
# Since x32 returns 32-bit long int and 64-bit long long int in the | ||
# same 64-bit register, we make the 32b-bit lround an alias of the | ||
# 64-bit llround. Add -Wno-error to silence the compiler. | ||
CFLAGS-s_llround.c += -Wno-error | ||
# 64-bit llround. Add -fno-builtin-lround to silence the compiler. | ||
CFLAGS-s_llround.c += -fno-builtin-lround | ||
endif |