diff options
| author | Warner Losh <imp@FreeBSD.org> | 2017-10-05 23:01:33 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2017-10-05 23:01:33 +0000 |
| commit | 0b972ac92efa281a92d2c774008c23e38373b413 (patch) | |
| tree | 51bbbca0ac650b8a0f5465e9c5861a9d9eb9db99 /Makefile.libcompat | |
| parent | b1bad39103f190d5fb8bc8f41f38f43e7787519a (diff) | |
Notes
Diffstat (limited to 'Makefile.libcompat')
| -rw-r--r-- | Makefile.libcompat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat index 9066306298bc..4a3d777a279b 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -59,10 +59,10 @@ LIB32WMAKEFLAGS+= -DCOMPAT_32BIT # ------------------------------------------------------------------- # soft-fp world -.if ${TARGET_ARCH} == "armv6" +.if ${TARGET_ARCH:Marmv[67]*} != "" LIBSOFTCFLAGS= -DCOMPAT_SOFTFP LIBSOFTCPUFLAGS= -mfloat-abi=softfp -LIBSOFTWMAKEENV= CPUTYPE=soft MACHINE=arm MACHINE_ARCH=armv6 +LIBSOFTWMAKEENV= CPUTYPE=soft MACHINE=arm MACHINE_ARCH=${TARGET_ARCH} LIBSOFTWMAKEFLAGS= -DCOMPAT_SOFTFP .endif |
