|
|
83845a |
From 02678b9d40f7de5cae1840f3d7ceedf1499c84a8 Mon Sep 17 00:00:00 2001
|
|
|
83845a |
From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= <cgzones@googlemail.com>
|
|
|
83845a |
Date: Tue, 6 Jul 2021 19:54:22 +0200
|
|
|
83845a |
Subject: [PATCH] checkpolicy: drop -pipe compile option
|
|
|
83845a |
MIME-Version: 1.0
|
|
|
83845a |
Content-Type: text/plain; charset=UTF-8
|
|
|
83845a |
Content-Transfer-Encoding: 8bit
|
|
|
83845a |
|
|
|
83845a |
The compiler option -pipe does not affect the generated code; it affects
|
|
|
83845a |
whether the compiler uses temporary files or pipes. As the benefit might
|
|
|
83845a |
vary from system to system usually its up to the packager or build
|
|
|
83845a |
framework to set it.
|
|
|
83845a |
Also these are the only places where the flag is used.
|
|
|
83845a |
|
|
|
83845a |
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
|
|
|
83845a |
---
|
|
|
83845a |
checkpolicy/Makefile | 2 +-
|
|
|
83845a |
checkpolicy/test/Makefile | 2 +-
|
|
|
83845a |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
83845a |
|
|
|
83845a |
diff --git a/checkpolicy/Makefile b/checkpolicy/Makefile
|
|
|
83845a |
index be63c0182682..f9e1fc7cecd4 100644
|
|
|
83845a |
--- a/checkpolicy/Makefile
|
|
|
83845a |
+++ b/checkpolicy/Makefile
|
|
|
83845a |
@@ -10,7 +10,7 @@ TARGETS = checkpolicy checkmodule
|
|
|
83845a |
LEX = flex
|
|
|
83845a |
YACC = bison -y
|
|
|
83845a |
|
|
|
83845a |
-CFLAGS ?= -g -Wall -Werror -Wshadow -O2 -pipe -fno-strict-aliasing
|
|
|
83845a |
+CFLAGS ?= -g -Wall -Werror -Wshadow -O2 -fno-strict-aliasing
|
|
|
83845a |
|
|
|
83845a |
# If no specific libsepol.a is specified, fall back on LDFLAGS search path
|
|
|
83845a |
# Otherwise, as $(LIBSEPOLA) already appears in the dependencies, there
|
|
|
83845a |
diff --git a/checkpolicy/test/Makefile b/checkpolicy/test/Makefile
|
|
|
83845a |
index e2a332b5a079..8e5d16b3c5f0 100644
|
|
|
83845a |
--- a/checkpolicy/test/Makefile
|
|
|
83845a |
+++ b/checkpolicy/test/Makefile
|
|
|
83845a |
@@ -1,7 +1,7 @@
|
|
|
83845a |
#
|
|
|
83845a |
# Makefile for building the dispol program
|
|
|
83845a |
#
|
|
|
83845a |
-CFLAGS ?= -g -Wall -W -Werror -O2 -pipe
|
|
|
83845a |
+CFLAGS ?= -g -Wall -W -Werror -O2
|
|
|
83845a |
|
|
|
83845a |
# If no specific libsepol.a is specified, fall back on LDFLAGS search path
|
|
|
83845a |
# Otherwise, as $(LIBSEPOLA) already appears in the dependencies, there
|
|
|
83845a |
--
|
|
|
83845a |
2.32.0
|
|
|
83845a |
|