Skip to content

Commit

Permalink
Replace -Wno-error with -fno-builtin-lround
Browse files Browse the repository at this point in the history
  • Loading branch information
H.J. Lu committed Dec 19, 2014
1 parent a4a43a9 commit afd176d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2014-12-19 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
-Wno-error with -fno-builtin-lround.

2014-12-19 Torvald Riegel <triegel@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/x86_64/x32/Makefile
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

0 comments on commit afd176d

Please sign in to comment.