summaryrefslogtreecommitdiff
path: root/config/pin_base.mpb
diff options
context:
space:
mode:
authorJames Hill <james@onehilltech.com>2021-11-14 21:33:53 -0500
committerJames Hill <james@onehilltech.com>2021-11-14 21:33:53 -0500
commit7b5fe9d3b3fd04c34123a1933384b2d1de0fec4f (patch)
treee9b578db806c3ce74b6fa1a81e7a46e2ce777ffe /config/pin_base.mpb
parent69a76b240d052aadce316f564561c675dffec2bd (diff)
parentf167fbd9f85405b0ce1072b0cad13f64557ced7f (diff)
downloadMPC-7b5fe9d3b3fd04c34123a1933384b2d1de0fec4f.tar.gz
chore: merge master
Diffstat (limited to 'config/pin_base.mpb')
-rw-r--r--config/pin_base.mpb13
1 files changed, 10 insertions, 3 deletions
diff --git a/config/pin_base.mpb b/config/pin_base.mpb
index 6d3f6c01..75e4e927 100644
--- a/config/pin_base.mpb
+++ b/config/pin_base.mpb
@@ -7,14 +7,15 @@ project {
$(PIN_ROOT)/extras/components/include \
$(PIN_ROOT)/extras/crt/include
- macros += BIGARRAY_MULTIPLIER=1 USING_XED
+ macros += BIGARRAY_MULTIPLIER=1 USING_XED PIN_CRT=1 __PIN__=1
+ lit_libs += c-dynamic m-dynamic stlport-dynamic dl-dynamic unwind-dynamic
specific (vc9) {
runtime_library = 0
compile_flags += /Oy
}
- specific (vc10, vc11, vc12, vc14, vs2017, vs2019) {
+ specific (prop:microsoft) {
runtime_library = MultiThreaded
ImageHasSafeExceptionHandlers = false
@@ -35,7 +36,8 @@ project {
}
specific (gnuace, make) {
- compile_flags += -O3 -fomit-frame-pointer -fno-strict-aliasing -Wno-unknown-pragmas -fno-stack-protector -fPIC
+ compile_flags += -O3 -funwind-tables -fno-stack-protector -fasynchronous-unwind-tables -fomit-frame-pointer -fno-strict-aliasing -fno-rtti -faligned-new -fPIC -nostdlib -fpermissive -Wno-error=all -fno-exceptions
+ compile_flags += '-isystem $(PIN_ROOT)/extras/stlport/include -isystem $(PIN_ROOT)/extras/libstdc++/include -isystem $(PIN_ROOT)/extras/crt/include -isystem $(PIN_ROOT)/extras/crt/include/kernel/uapi'
compile_flags -= -Wunused-parameter
libs += xed
@@ -102,4 +104,9 @@ feature(intel64) {
// DO NOT CHANGE ORDER
lit_libs += libcpmt libcmt pinvm pin libxed ntdll-64
}
+
+ specific (make, gnuace) {
+ compile_flags += -isystem $(PIN_ROOT)/extras/crt/include/arch-x86_64 -isystem $(PIN_ROOT)/extras/crt/include/kernel/asm-x86_64
+ }
+
}