Steve,
Thanks for taking a look at my patch.
On Wed, Jul 15, 2015 at 3:38 PM, Steve Grubb <sgrubb(a)redhat.com> wrote:
On Thursday, May 28, 2015 08:04:05 AM Clayton Shotwell wrote:
> During the audit build, several lookup tables are generated as header
> files that are then linked in with the executables. This process is done
> by a C application that needs to be able to be run on the host. The
> current Makfile structure tries to build these executables for the
> target instead of the host where they cannot be executed. This patch
> reworks the Makefile structure to build for the correct platform.
>
> This patch is a rework of a patch posted to the audit mailing list at
> the link below.
>
https://www.redhat.com/archives/linux-audit/2012-November/msg00000.html
>
> The ax_prog_cc_for_build.m4 file was obtained from GNU at the link
> below.
>
http://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html
>
> Signed-off-by: Clayton Shotwell <clayton.shotwell(a)rockwellcollins.com>
This patch causes a problem during a normal build:
Making all in lib
make[2]: Entering directory '/home/sgrubb/working/BUILD/audit-2.4.3/lib'
make[2]: *** No rule to make target 'gen_tables.c', needed by
'gen_actiontabs_h'. Stop.
That's odd. I'll see if I can reproduce it here and get the patch reworked.
Thanks,
Clayton
Clayton Shotwell
Senior Software Engineer, Rockwell Collins
clayton.shotwell(a)rockwellcollins.com