Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i added decorations to code #104

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,16 @@ TARGETS += makecapk/lib/arm64-v8a/lib$(APPNAME).so

CFLAGS_ARM64:=-m64
CFLAGS_ARM32:=-mfloat-abi=softfp -m32
CFLAGS_x86:=-march=i686 -mtune=intel -mssse3 -mfpmath=sse -m32
CFLAGS_x86_64:=-march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=intel
#---------------------------------------------------------------
#general usage
CFLAGS_x86:=-march=i686 -mtune=generic -mssse3 -mfpmath=sse -m32
CFLAGS_x86_64:=-march=x86-64 -msse4.2 -mpopcnt -m64 -mtune=generic

#optimized code for your computer
#if your computer doesnt support 32 bit or 64 bit you can change march as -march=native (i suppose)
#CFLAGS_x86 := -march=i686 -mtune=native -m32
#CFLAGS_x86_64 := -march=x86-64 -mtune=native
#---------------------------------------------------------------
STOREPASS?=password
DNAME:="CN=example.com, OU=ID, O=Example, L=Doe, S=John, C=GB"
KEYSTOREFILE:=my-release-key.keystore
Expand Down Expand Up @@ -176,7 +184,7 @@ manifest: AndroidManifest.xml
AndroidManifest.xml :
rm -rf AndroidManifest.xml
PACKAGENAME=$(PACKAGENAME) \
ANDROIDVERSION=$(ANDROIDVERSION) \
ANDROIDVERSION=29 \
ANDROIDTARGET=$(ANDROIDTARGET) \
APPNAME=$(APPNAME) \
LABEL=$(LABEL) envsubst '$$ANDROIDTARGET $$ANDROIDVERSION $$APPNAME $$PACKAGENAME $$LABEL' \
Expand Down
Loading