-
Notifications
You must be signed in to change notification settings - Fork 5
/
build-symqemu.sh
executable file
·38 lines (35 loc) · 2.08 KB
/
build-symqemu.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
cd symqemu-hybrid
CFLAGS="-march=ivybridge" ./configure \
--audio-drv-list= \
--disable-bluez \
--disable-sdl \
--disable-gtk \
--disable-vte \
--disable-opengl \
--disable-virglrenderer \
--disable-werror \
--target-list=x86_64-linux-user \
--enable-capstone=git \
--symcc-source=`pwd`/../symcc-hybrid/ \
--symcc-build=`pwd`/../symcc-hybrid/build && \
make clean && \
CFLAGS="-march=ivybridge" make -j `nproc`
cd ../sym_helpers
./build.sh
cd ../symqemu-hybrid
CFLAGS="-march=ivybridge" ./configure \
--audio-drv-list= \
--disable-bluez \
--disable-sdl \
--disable-gtk \
--disable-vte \
--disable-opengl \
--disable-virglrenderer \
--disable-werror \
--target-list=x86_64-linux-user \
--enable-capstone=git \
--symcc-source=`pwd`/../symcc-hybrid/ \
--symcc-build=`pwd`/../symcc-hybrid/build && \
make clean && \
CFLAGS="-march=ivybridge" make -j `nproc`