comparison libatomic/Makefile.am @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 ## Copyright (C) 2012-2017 Free Software Foundation, Inc. 1 ## Copyright (C) 2012-2018 Free Software Foundation, Inc.
2 ## Contributed by Richard Henderson <rth@redhat.com>. 2 ## Contributed by Richard Henderson <rth@redhat.com>.
3 ## 3 ##
4 ## This file is part of the GNU Atomic Library (libatomic). 4 ## This file is part of the GNU Atomic Library (libatomic).
5 ## 5 ##
6 ## Libatomic is free software; you can redistribute it and/or modify it 6 ## Libatomic is free software; you can redistribute it and/or modify it
120 ## Include all of the sizes in the "normal" set of compilation flags. 120 ## Include all of the sizes in the "normal" set of compilation flags.
121 libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix _$(s)_.lo,$(SIZEOBJS))) 121 libatomic_la_LIBADD = $(foreach s,$(SIZES),$(addsuffix _$(s)_.lo,$(SIZEOBJS)))
122 122
123 ## On a target-specific basis, include alternates to be selected by IFUNC. 123 ## On a target-specific basis, include alternates to be selected by IFUNC.
124 if HAVE_IFUNC 124 if HAVE_IFUNC
125 if ARCH_AARCH64_LINUX
126 IFUNC_OPTIONS = -march=armv8-a+lse
127 libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS)))
128 endif
125 if ARCH_ARM_LINUX 129 if ARCH_ARM_LINUX
126 IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64 130 IFUNC_OPTIONS = -march=armv7-a+fp -DHAVE_KERNEL64
127 libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS))) 131 libatomic_la_LIBADD += $(foreach s,$(SIZES),$(addsuffix _$(s)_1_.lo,$(SIZEOBJS)))
128 libatomic_la_LIBADD += $(addsuffix _8_2_.lo,$(SIZEOBJS)) 132 libatomic_la_LIBADD += $(addsuffix _8_2_.lo,$(SIZEOBJS))
129 endif 133 endif