| commit | d961049a26b7e19da19198e3908b6823d4c462d7 | [log] [tgz] |
|---|---|---|
| author | Mike Frysinger <vapier@gentoo.org> | Mon Jan 01 20:11:52 2024 -0500 |
| committer | Mike Frysinger <vapier@gentoo.org> | Tue Jan 02 00:29:28 2024 -0500 |
| tree | a3edac107912ed6e24658af328b06e9febe731a7 | |
| parent | d237a93af39a489c86ec0142fa05b2af17505d13 [diff] |
sim: ppc: change SysV sem & shm tests to compile-time Instead of executing code to see if SysV semaphores & shared memory are available, switch to just a compile-time test. The system used to compile might not match the system used to run the code wrt the current kernel & OS settings, but the library APIs should. So move the failures from compile-time to runtime so the program is more portable, and works correctly even when cross-compiling.