about summary refs log tree commit diff
path: root/sysdeps/loongarch/preconfigure
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/loongarch/preconfigure')
-rw-r--r--sysdeps/loongarch/preconfigure9
1 files changed, 3 insertions, 6 deletions
diff --git a/sysdeps/loongarch/preconfigure b/sysdeps/loongarch/preconfigure
index f2d1a0d87b..dfc7ecfd9e 100644
--- a/sysdeps/loongarch/preconfigure
+++ b/sysdeps/loongarch/preconfigure
@@ -37,16 +37,13 @@ loongarch*)
 	;;
     esac
 
-    cat >>confdefs.h <<_ACEOF
-#define LOONGARCH_ABI_GRLEN $grlen
-_ACEOF
+    printf "%s\n" "#define LOONGARCH_ABI_GRLEN $grlen" >>confdefs.h
 
-    cat >>confdefs.h <<_ACEOF
-#define LOONGARCH_ABI_FRLEN $abi_flen
-_ACEOF
+    printf "%s\n" "#define LOONGARCH_ABI_FRLEN $abi_flen" >>confdefs.h
 
 
     base_machine=loongarch
     ;;
 esac
 
+