HUGE SaberMod update (2/4)

This patch includes:

from SM_vendor:
MOAR SaberMod flags
extra sabermod C flags
Add more optimizations to extra sabermod gcc cflags and kernel flags
Add more clang C flags
enable graphite and -O3 form libwebviewchromium
Add some basic host optimizations
update sm.mk: cleanup graphite flags
sm.mk: Don't add when exporting
sm.mk: Fix device kernel graphite flags not being added
Fix build, create sm_clear_vars.mk and add -pipe
hammerhead: fix compiling on macs (darwin), and update sm_clear_vars.mk
-O3 optimzations: More improvements
SaberMod ARM Mode
Fix bluetooth in SaberMod ARM Mode
export GRAPHITE_UNROLL_AND_JAM to the kernel
sm.mk: more dependency fixes:
small cleanup

from SM_build:
MOAR SaberMod flags
ARM: Enable -fno-builtin-sin and -fno-strict-volatile-bitfields by default
extra sabermod flags binary mode: separate gcc from clang completely
Add some basic host optimizations
Cleanup graphite: LOCAL_CFLAGS will be used for CPP flags
-O3 optimzations: More improvements
Include sm_clear_vars.mk
sm.mk: Bug fix for aosp and strict-aliasing
SaberMod ARM Mode (2/2)
small cleanup
Rewrite SaberMod ARM Mode to fix build for arm64
Find more strict-aliasing flags in arm mode
ARM: Make strict-aliasing optional
ARM: Remove -funswitch-loops from arm mode flags
More flag fixes...
sm.mk: code shrink
strict derp: Make optional for real this time.
Remove extra clang -O3 flags
Create dumpvar.mk
strict: one more fix..
Fix strict-aliasing being enabled thanks to Alessandro
Add a option to disable vectorization flags (2/2)
Update for vendor changes
No optimizations for bluetooth modules

from SM_kernel:
MOAR SaberMod flags
pthread: make the warning more obvious
Use common ld scripts for ld modules
kernel: add support for gcc 5/6
net: netfilter: disable loop-unroll-and-jam where needed
Organize SaberMod edits and add LICENSE
Update for latest rom changes.
One more compatibility patch for graphite

Change-Id: I373fa1102a90704a0fabdd497ffd59cd472e9498
Signed-off-by: noname55804 <marlin2201@gmail.com>
14 files changed