Ajout du .desktop et de secu.mk oubliés
Cette révision appartient à :
8
ressources/Modulations_Numeriques.desktop
Fichier normal
8
ressources/Modulations_Numeriques.desktop
Fichier normal
@@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Encoding=UTF-8
|
||||||
|
Name=Modulations_Numeriques
|
||||||
|
Comment=Modulations Numeriques
|
||||||
|
Exec=$HOME/bin/Modulations_Numeriques
|
||||||
|
Terminal=false
|
||||||
|
StartupNotify=true
|
||||||
31
secu.mk
Fichier normal
31
secu.mk
Fichier normal
@@ -0,0 +1,31 @@
|
|||||||
|
# add security compilation flags there
|
||||||
|
|
||||||
|
GXX_SECURITY_FLAGS = \
|
||||||
|
-Wwrite-strings \
|
||||||
|
-fPIC \
|
||||||
|
-pthread \
|
||||||
|
-fstack-protector \
|
||||||
|
-fstack-clash-protection \
|
||||||
|
-pie -fPIE \
|
||||||
|
-D_FORTIFY_SOURCE=2 -O2 -Wl,-z,now \
|
||||||
|
-Wformat -Wformat-security
|
||||||
|
|
||||||
|
# -fstack-protector \
|
||||||
|
# -fstack-clash-protection \
|
||||||
|
# -fstack-protector-strong \
|
||||||
|
# -Wwrite-strings -fPIC \
|
||||||
|
# -fno-builtin-memset \
|
||||||
|
# -pie \
|
||||||
|
# -fPIE \
|
||||||
|
# -O2 -D_FORTIFY_SOURCE=2 \
|
||||||
|
# -Wl,-z,relro \
|
||||||
|
# -Wl,-z,now \
|
||||||
|
# -Wall -Wformat -Wformat=2 -Wformat-security \
|
||||||
|
# -fno-builtin -fno-builtin-function \
|
||||||
|
# -D_GLIBCXX_ASSERTIONS \
|
||||||
|
# -Wl,-z,nodlopen -Wl,-z,noexecstack \
|
||||||
|
# -Wl,--as-needed -Wl,--no-copy-dt-needed-entries
|
||||||
|
|
||||||
|
|
||||||
|
EXTRA_CXX_FLAGS += ${GXX_SECURITY_FLAGS}
|
||||||
|
|
||||||
Référencer dans un nouveau ticket
Bloquer un utilisateur