powertop: Do not use fstack-protector on ARC

Not compatible. Instead of setting PKG_SSP, I had to do this as the
powertop Makefile defines it.

Use $(FPIC) instead of -fPIC to fix potential issues.

Removed musl patch. Not needed anymore.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2019-06-04 11:45:52 -07:00
parent 438326179e
commit 02a4ac87c0
2 changed files with 7 additions and 23 deletions
@@ -1,22 +0,0 @@
--- ./src/devices/devfreq.h.orig
+++ ./src/devices/devfreq.h
@@ -25,6 +25,7 @@
#ifndef _INCLUDE_GUARD_DEVFREQ_H
#define _INCLUDE_GUARD_DEVFREQ_H
+#include <sys/time.h>
#include "device.h"
#include "../parameters/parameters.h"
diff --git a/src/perf/perf.h b/src/perf/perf.h
index ee072ae06d24..932588a684f9 100644
--- a/src/perf/perf.h
+++ b/src/perf/perf.h
@@ -26,6 +26,7 @@
#define _INCLUDE_GUARD_PERF_H_
#include <iostream>
+#include <stdio.h>
extern "C" {