When running 2nd glibc build for asan, there are errors from
conflicting types for fgetpos and fsetpos. This is from not
matched LARGEFILE related definitions. Undefine the related
definitions like armv7l build.
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Change-Id: I3d2f3ddaceca9bd55adec83b775760d1f42fdd09
unset CXXFLAGS
unset CFLAGS
unset LDFLAGS
-%ifarch %arm
+%ifarch %{arm} aarch64
# Glibc must have both functions' implementations
CPPFLAGS="-U_LARGEFILE_SOURCE -U_LARGEFILE64_SOURCE -U_FILE_OFFSET_BITS"
%endif