diff options
author | 2017-02-18 10:20:20 -0500 | |
---|---|---|
committer | 2017-02-21 14:55:55 +0800 | |
commit | 99249f103339619913cf5c17abb8fd0fd893d9b0 (patch) | |
tree | 4b87cdba9747a1c3c46695e247ec464b0d686493 /Rules.modular | |
parent | Little misc patches from Russell Coker. (diff) | |
download | hardened-refpolicy-99249f103339619913cf5c17abb8fd0fd893d9b0.tar.gz hardened-refpolicy-99249f103339619913cf5c17abb8fd0fd893d9b0.tar.bz2 hardened-refpolicy-99249f103339619913cf5c17abb8fd0fd893d9b0.zip |
Implement WERROR build option to treat warnings as errors.
Add this to all Travis-CI builds.
Diffstat (limited to 'Rules.modular')
-rw-r--r-- | Rules.modular | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Rules.modular b/Rules.modular index 80cf8fd28..60fe55496 100644 --- a/Rules.modular +++ b/Rules.modular @@ -70,7 +70,7 @@ $(modpkgdir)/%.pp: $(builddir)%.pp # # Build module packages # -$(tmpdir)/%.mod: $(m4support) $(tmpdir)/generated_definitions.conf $(tmpdir)/all_interfaces.conf %.te +$(tmpdir)/%.mod: $(m4support) $(tmpdir)/generated_definitions.conf $(tmpdir)/all_interfaces.conf %.te $(m4terminate) @echo "Compiling $(NAME) $(@F) module" @test -d $(tmpdir) || mkdir -p $(tmpdir) $(verbose) $(M4) $(M4PARAM) -s $^ > $(@:.mod=.tmp) @@ -140,7 +140,7 @@ $(tmpdir)/all_interfaces.conf: $(m4support) $(all_interfaces) $(m4iferror) @echo "divert" >> $@ $(tmpdir)/all_te_files.conf: M4PARAM += -D self_contained_policy -$(tmpdir)/all_te_files.conf: $(m4support) $(tmpdir)/generated_definitions.conf $(tmpdir)/all_interfaces.conf $(base_te_files) +$(tmpdir)/all_te_files.conf: $(m4support) $(tmpdir)/generated_definitions.conf $(tmpdir)/all_interfaces.conf $(base_te_files) $(m4terminate) ifeq "$(strip $(base_te_files))" "" $(error No enabled modules! $(notdir $(mod_conf)) may need to be generated by using "make conf") endif |