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:
Joshua Brindle 2009-09-24 13:46:12 -04:00
parent 66d0760007
commit 95d8143b35
1 changed files with 3 additions and 4 deletions

7
libselinux/src/exception.sh Normal file → Executable file
View 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