]> git.ipfire.org Git - thirdparty/systemd.git/commit
base-filesystem: check for __s390x__ first 32123/head
authorFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 5 Apr 2024 17:33:28 +0000 (19:33 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Fri, 5 Apr 2024 17:44:44 +0000 (19:44 +0200)
commit1d07188b159878fc025cbd81bcaad3ba333bbb1c
treee021bfdcbaff58787a352a4dfad0ead8f5305ec4
parent3ebd598624d1f371144df97a08fde40cd47664bf
base-filesystem: check for __s390x__ first

On s390x both __s390__ and __s390x__ are defined, and with the original
order we'd go through the __s390__ branch and emit a warning:

[169/2118] Compiling C object src/shared/libsystemd-shared-256.a.p/base-filesystem.c.o
../src/shared/base-filesystem.c:136:11: note: ‘#pragma message: Please add an entry above specifying whether your architecture uses /lib64/, /lib32/, or no such links.’
  136 | #  pragma message "Please add an entry above specifying whether your architecture uses /lib64/, /lib32/, or no such links."
      |           ^~~~~~~
src/shared/base-filesystem.c