powerpc64: Fix by using the configure value $libc_cv_cc_submachine [BZ #31629]
commita81cdde1cb9d514fc8f014ddf21771c96ff2c182
authorManjunath Matti <mmatti@linux.ibm.com>
Thu, 16 May 2024 22:24:36 +0000 (16 17:24 -0500)
committerPeter Bergner <bergner@linux.ibm.com>
Thu, 16 May 2024 22:31:45 +0000 (16 17:31 -0500)
tree03c128e4975c3c95f2aeaa2bf56647898ce1ccab
parentfa9aecc045e9e7d0c2f4e182748491f732e63dd2
powerpc64: Fix by using the configure value $libc_cv_cc_submachine [BZ #31629]

This patch ensures that $libc_cv_cc_submachine, which is set from
"--with-cpu", overrides $CFLAGS for configure time tests.

Suggested-by: Peter Bergner <bergner@linux.ibm.com>
Reviewed-by: Peter Bergner <bergner@linux.ibm.com>
sysdeps/powerpc/powerpc64/configure
sysdeps/powerpc/powerpc64/configure.ac