summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-04 21:32:20 +0100
committerSven Gothel <[email protected]>2020-01-04 21:32:20 +0100
commit82f267acee3485464ea62328e14eff4e124e8f21 (patch)
treee015ec41362a28bb20534539ff8245a2528dc532
parent2cb7f6af4813041bfff6c8a631e329ed5a63dba3 (diff)
linker.cfg.linux.*.nativewindow: Specialize for x86 and amd64 allowing cross-compilation 32bit on 64bit
-rw-r--r--make/build-nativewindow.xml14
1 files changed, 12 insertions, 2 deletions
diff --git a/make/build-nativewindow.xml b/make/build-nativewindow.xml
index 7f0057493..e65f80975 100644
--- a/make/build-nativewindow.xml
+++ b/make/build-nativewindow.xml
@@ -517,6 +517,16 @@
<syslibset libs="gbm"/>
</linker>
+ <linker id="linker.cfg.linux.x86.nativewindow.drm" extends="linker.cfg.linux.x86">
+ <syslibset libs="drm"/>
+ <syslibset libs="gbm"/>
+ </linker>
+
+ <linker id="linker.cfg.linux.amd64.nativewindow.drm" extends="linker.cfg.linux.amd64">
+ <syslibset libs="drm"/>
+ <syslibset libs="gbm"/>
+ </linker>
+
<linker id="linker.cfg.linux.armv6.nativewindow.drm" extends="linker.cfg.linux.armv6">
<syslibset dir="${TARGET_PLATFORM_USRLIBS}" libs="drm" />
<syslibset dir="${TARGET_PLATFORM_USRLIBS}" libs="gbm" />
@@ -651,14 +661,14 @@
<echo message="Linux.x86" />
<property name="compiler.cfg.id" value="compiler.cfg.linux.x86" />
<property name="linker.cfg.id.oswin" value="linker.cfg.linux.x86.nativewindow.x11" />
- <property name="linker.cfg.id.drm" value="linker.cfg.linux.nativewindow.drm" />
+ <property name="linker.cfg.id.drm" value="linker.cfg.linux.x86.nativewindow.drm" />
</target>
<target name="c.configure.linux.amd64" if="isLinuxAMD64">
<echo message="Linux.AMD64" />
<property name="compiler.cfg.id" value="compiler.cfg.linux.amd64" />
<property name="linker.cfg.id.oswin" value="linker.cfg.linux.amd64.nativewindow.x11" />
- <property name="linker.cfg.id.drm" value="linker.cfg.linux.nativewindow.drm" />
+ <property name="linker.cfg.id.drm" value="linker.cfg.linux.amd64.nativewindow.drm" />
</target>
<target name="c.configure.linux.armv6" if="isLinuxARMv6">