cflags: remove -fPIC from all cflags

This commit is contained in:
mappu 2024-11-23 18:33:34 +13:00
parent c6018d1c07
commit b643477cca
12 changed files with 4 additions and 12 deletions

View File

@ -2,7 +2,6 @@ package main
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt5Widgets #cgo pkg-config: Qt5Widgets
#include "binding.h" #include "binding.h"

View File

@ -2,7 +2,7 @@ package cbor
/* /*
#cgo CXXFLAGS: -std=c++11 #cgo CXXFLAGS: -std=c++11
#cgo CFLAGS: -std=gnu11 -fPIC #cgo CFLAGS: -std=gnu11
#cgo pkg-config: Qt5Core #cgo pkg-config: Qt5Core
*/ */
import "C" import "C"

View File

@ -2,7 +2,7 @@ package qt
/* /*
#cgo CXXFLAGS: -std=c++11 #cgo CXXFLAGS: -std=c++11
#cgo CFLAGS: -std=gnu11 -fPIC #cgo CFLAGS: -std=gnu11
#cgo pkg-config: Qt5Widgets #cgo pkg-config: Qt5Widgets
*/ */
import "C" import "C"

View File

@ -2,7 +2,7 @@ package multimedia
/* /*
#cgo CXXFLAGS: -std=c++11 #cgo CXXFLAGS: -std=c++11
#cgo CFLAGS: -std=gnu11 -fPIC #cgo CFLAGS: -std=gnu11
#cgo pkg-config: Qt5MultimediaWidgets #cgo pkg-config: Qt5MultimediaWidgets
*/ */
import "C" import "C"

View File

@ -2,7 +2,7 @@ package network
/* /*
#cgo CXXFLAGS: -std=c++11 #cgo CXXFLAGS: -std=c++11
#cgo CFLAGS: -std=gnu11 -fPIC #cgo CFLAGS: -std=gnu11
#cgo pkg-config: Qt5Network #cgo pkg-config: Qt5Network
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package printsupport package printsupport
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt5PrintSupport #cgo pkg-config: Qt5PrintSupport
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package cbor package cbor
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt6Core #cgo pkg-config: Qt6Core
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package qt6 package qt6
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt6Widgets #cgo pkg-config: Qt6Widgets
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package multimedia package multimedia
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt6MultimediaWidgets #cgo pkg-config: Qt6MultimediaWidgets
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package qt6 package qt6
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt6Network #cgo pkg-config: Qt6Network
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package printsupport package printsupport
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt6PrintSupport #cgo pkg-config: Qt6PrintSupport
*/ */
import "C" import "C"

View File

@ -1,7 +1,6 @@
package spatialaudio package spatialaudio
/* /*
#cgo CFLAGS: -fPIC
#cgo pkg-config: Qt6SpatialAudio #cgo pkg-config: Qt6SpatialAudio
*/ */
import "C" import "C"