r1022 - glibc-package/trunk/debian/sysdeps
Author: gotom
Date: 2005-08-25 03:08:45 +0000 (Thu, 25 Aug 2005)
New Revision: 1022
Modified:
glibc-package/trunk/debian/sysdeps/powerpc.mk
Log:
Add BUILD_CC_VERSION calculation.
Modified: glibc-package/trunk/debian/sysdeps/powerpc.mk
===================================================================
--- glibc-package/trunk/debian/sysdeps/powerpc.mk 2005-08-25 00:58:43 UTC (rev 1021)
+++ glibc-package/trunk/debian/sysdeps/powerpc.mk 2005-08-25 03:08:45 UTC (rev 1022)
@@ -6,6 +6,7 @@
DEB_ARCH_REGULAR_PACKAGES += libc6-ppc64 libc6-dev-ppc64
# nptl/ppc64 extra_cfalgs needs -g2 because of gcc-3.4 bug.
+BUILD_CC_VERSION := $(shell $(BUILD_CC) -dumpversion | sed 's/\([0-9]*\.[0-9]*\)\(.*\)/\1/')
ifeq ($(BUILD_CC_VERSION),3.4)
nptl_extra_cflags += -g2
ppc64_extra_cflags += -g2
Reply to: