diff options
| author | Alex Richardson <arichardson@FreeBSD.org> | 2018-08-23 18:19:10 +0000 |
|---|---|---|
| committer | Alex Richardson <arichardson@FreeBSD.org> | 2018-08-23 18:19:10 +0000 |
| commit | a00cd9540d117e62edb8e1e35266d6d13c91975c (patch) | |
| tree | abd172d2a5447e31d54124ab6dfc2d19a6b8b079 /Makefile.libcompat | |
| parent | 4635180ea73eeaf8ff14c8f472154c1bf0826927 (diff) | |
Notes
Diffstat (limited to 'Makefile.libcompat')
| -rw-r--r-- | Makefile.libcompat | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.libcompat b/Makefile.libcompat index c2c729fdcfe1..b339567c08ed 100644 --- a/Makefile.libcompat +++ b/Makefile.libcompat @@ -14,6 +14,11 @@ LIB32CPUFLAGS= -march=i686 -mmmx -msse -msse2 .else LIB32CPUFLAGS= -march=${TARGET_CPUTYPE} .endif +.if ${WANT_COMPILER_TYPE} == gcc || \ + (defined(X_COMPILER_TYPE) && ${X_COMPILER_TYPE} == gcc) +.else +LIB32CPUFLAGS+= -target x86_64-unknown-freebsd12.0 +.endif LIB32CPUFLAGS+= -m32 LIB32WMAKEENV= MACHINE=i386 MACHINE_ARCH=i386 \ MACHINE_CPU="i686 mmx sse sse2" |
