mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 00:59:39 +07:00
0dd3a6945f
Some toolchains need -no-pie to build all tests, others do not support
the -no-pie flag at all. Therefore, add another test for the
availability of the flag.
This amends commit 3346a6a4e5
("selftests: x86: sysret_ss_attrs doesn't build on a PIE build").
Signed-off-by: Florian Weimer <fweimer@redhat.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
11 lines
141 B
C
11 lines
141 B
C
/* Trivial program to check that compilation with certain flags is working. */
|
|
|
|
#include <stdio.h>
|
|
|
|
int
|
|
main(void)
|
|
{
|
|
puts("");
|
|
return 0;
|
|
}
|