Skip to content

Commit

Permalink
Moved disable run-time type info to C++ flags.
Browse files Browse the repository at this point in the history
  • Loading branch information
TaleTN committed Oct 6, 2016
1 parent b9a3fe1 commit b17b6bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# terms of the Do What The Fuck You Want To Public License, Version 2,
# as published by Sam Hocevar. See the LICENSE file for more details.

CFLAGS = -O2 -fno-rtti -fno-stack-protector -DNDEBUG -Wall
CFLAGS = -O2 -fno-stack-protector -DNDEBUG -Wall

LTM_OBJECTS = \
libtommath/bncore.o \
Expand Down Expand Up @@ -226,7 +226,7 @@ libtomcrypt/src/ciphers/aes/aes_enc.o: libtomcrypt/src/ciphers/aes/aes.c libtomc

libtomcrypt: $(LTC_OBJECTS)

CXXFLAGS = $(CFLAGS) -Ilibtomcrypt/src/headers -DLTM_DESC
CXXFLAGS = $(CFLAGS) -fno-rtti -Ilibtomcrypt/src/headers -DLTM_DESC
LT_OBJECTS = $(LTM_OBJECTS) $(LTC_OBJECTS)

rsa_make_key: rsa_make_key.cpp
Expand Down
4 changes: 2 additions & 2 deletions makefile.msvc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# terms of the Do What The Fuck You Want To Public License, Version 2,
# as published by Sam Hocevar. See the LICENSE file for more details.

CFLAGS = /O2 /GS- /GR- /DNDEBUG /DWIN32 /D_CRT_SECURE_NO_WARNINGS /W3
CFLAGS = /O2 /GS- /DNDEBUG /DWIN32 /D_CRT_SECURE_NO_WARNINGS /W3

LTM_LIBNAME = libtommath/tommath.lib

Expand Down Expand Up @@ -298,7 +298,7 @@ $(LTC_LIBNAME): $(LTC_OBJECTS)

libtomcrypt: $(LTC_LIBNAME)

CPPFLAGS = $(CFLAGS) /Ilibtomcrypt/src/headers /DLTM_DESC
CPPFLAGS = $(CFLAGS) /GR- /Ilibtomcrypt/src/headers /DLTM_DESC
LIBS = $(LTM_LIBNAME) $(LTC_LIBNAME) advapi32.lib

rsa_make_key.exe: rsa_make_key.cpp
Expand Down

0 comments on commit b17b6bd

Please sign in to comment.