mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-26 16:02:26 +00:00
This updates commit 66d0760007
This seems to work better on my system (aux-info on temp.c didn't do anything)
This commit is contained in:
parent
66d0760007
commit
95d8143b35
7
libselinux/src/exception.sh
Normal file → Executable file
7
libselinux/src/exception.sh
Normal file → Executable file
@ -15,7 +15,6 @@ echo "
|
||||
;;
|
||||
esac
|
||||
}
|
||||
echo '#include "../include/selinux/selinux.h"' > temp.c
|
||||
gcc -c temp.c -aux-info temp.aux
|
||||
for i in `awk '/..\/include\/selinux\/selinux.h.*extern int/ { print $6 }' temp.aux`; do except $i ; done
|
||||
rm -f temp.c temp.aux temp.o
|
||||
gcc -x c -c - -aux-info temp.aux < ../include/selinux/selinux.h
|
||||
for i in `awk '/<stdin>.*extern int/ { print $6 }' temp.aux`; do except $i ; done
|
||||
rm -f -- temp.aux -.o
|
||||
|
Loading…
Reference in New Issue
Block a user