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
#include "binding.h"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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